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

from fla ide to Flex embed fonts

Guest
Jul 21, 2009 Jul 21, 2009

Hi,

Since the [Embed(source="1.ttf", fontName="bla", fontWeight="Bold", mimeType="application/x-font-truetype")]

is not embeding fonts i want couse of errros like with helvetica i try otherway.


Since Flash IDE always work nice with embed fonts. I made a SWF that embed the font i want. After I make a class that have a method that returns the fontname.

In my flex app i load that SWF.. set a var to the fontname of the included SWF.

Now what i create a new textfield with textformat set to that fontname all work ok.

But the quality of the font is so pixel........................I tried the AntiAliasType etc.. no real effect.

When i look in the SWF with the embed font.. it looks nice and smooth..

What can i do to get a nice renderd text like this?

TOPICS
ActionScript
589
Translate
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
Explorer ,
Jul 28, 2009 Jul 28, 2009
LATEST

A screenshot would help in diagnosing this issue.  I know that some Flex controls use the bold version of the font, so you need to make sure that the bold font is also embedded into the swf that contains your fonts.

Translate
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