• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

checkTLFFontsLoaded taking large amount of time every frame

New Here ,
Apr 16, 2012 Apr 16, 2012

Copy link to clipboard

Copied

After trying to figure out why converting all our text fields to TLF is hammering performance for ages, I've finally discovered the culprit function that is taking so long on every single frame:

RuntimeManager$.checkTLFFontsLoaded (fl.text)

This function often spends more than 10 ms running each frame, and is by far the longest running function in our application's action script every single frame.

Can anyone give me a rough idea of what calls this function so I know what to start looking for in my code?

TOPICS
Text layout framework

Views

3.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 16, 2012 Apr 16, 2012

Copy link to clipboard

Copied

fl.text.RuntimeManager is not a class of TLF but Flash Pro. Here we mainly focus on TLF, which includes classes in textLayout.swc. So you may want to duplicate your question to http://forums.adobe.com/community/flash. Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 16, 2012 Apr 16, 2012

Copy link to clipboard

Copied

LATEST

Thanks Jin, I have posted on Flash Pro forums.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines