# Issue with Embeded Fonts

**URL:** <https://forum.kirupa.com/t/issue-with-embeded-fonts/226649>\
**Category:** flash\
**Created:** [May 22, 2007, 9:29pm UTC](https://forum.kirupa.com/t/issue-with-embeded-fonts/226649 "2007-05-22T21:29:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsimpson](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jsimpson/32/3031_2.png) [@jsimpson](https://forum.kirupa.com/u/jsimpson)\
**Post date:** [May 22, 2007, 9:29pm UTC](https://forum.kirupa.com/t/issue-with-embeded-fonts/226649/1 "2007-05-22T21:29:38Z")

</div>

I’m having an issue when I embed fonts into my file where the performance suffers tremendously. With only six textfields and two fonts, my framerate is super choppy.

I have an image that I’ve attached a textfield to using,  
\_Image.createTextField(“header\_txt”, \_root.getNextHighestDepth(), 60, 20, 480, 40), the \_Image is tweened on it’s X axis only.

I’ve embeded the font by adding the font as a symbol to the library using the add font drop down. I also enable embeded fonts, and create a new format and apply it to the textboxes I create.

If I comment out the lines, header\_txt.embedFonts = true, then the file runs flawlessly. But no text appears, or the text does appear but doesn’t accept any masks/alphas. I’m at a loss as what I can do to improve performance. Also right after I get and apply the dynamic text I add, header\_txt.cacheAsBitmap = true. But I see no difference in performance.

Any advice would be most wonderful thanks!
