Can you embed .FON font files in Flash?

This is a discussion on Can you embed .FON font files in Flash? within the Macromedia Flash forums in Adobe Tools category; From what I've seen and spent hours searching for, you can only embed .FON font files(raster version) into Flash from Macintosh? Is this the case or am I just pulling my hair out trying to find a way to embed my work-related .FON file? The encoder is giving me the error about not finding the right weight. I have opened the file in a font editor and it renders correctly and gives me the appropriate weight to use(i.e., 400(Normal)). Any info would be greatly appreciated....

Go Back   Application Development Forum > Adobe Tools > Macromedia Flash

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-19-2008, 09:15 PM
TwiztedBreeze
Guest
 
Default Can you embed .FON font files in Flash?

From what I've seen and spent hours searching for, you can only embed .FON font
files(raster version) into Flash from Macintosh? Is this the case or am I just
pulling my hair out trying to find a way to embed my work-related .FON file?

The encoder is giving me the error about not finding the right weight. I have
opened the file in a font editor and it renders correctly and gives me the
appropriate weight to use(i.e., 400(Normal)).

Any info would be greatly appreciated.

Reply With Quote
  #2  
Old 05-20-2008, 07:42 AM
rritchey
Guest
 
Default Re: Can you embed .FON font files in Flash?

Why not just embed from inside Flash?

If the font is installed it will be an option in the font list inside of
Flash, and the development tool gives you multiple simple methods for embedding.

1. Create a dynamic text box, click the "Embed fonts" button in the properties
box. This allows you to embed as many characters of the currently selected
font as you like.

2. Go to the Libraries pull-down menu, select "New Font" Select the font, the
font size, bold/italic. Once created, right-click on the font symbol in the
library, and go to Linkage. Tell it to export the font for actionscript
(ideally in the first frame as well).

The first method I mention allows you to embed only the characters you need,
but for a specific text field.
The second method allows you to embed the entire font for use in any text
field. To use the second method:

myTextField.setStyle('embedFonts',true);
myTextField.setStyle('fontFamily','myEmbeddedFontN ame');

Its that easy. The embedded font will also be rendered properly if the text
box is displaying HTML content, and you use the <font
face="myEmbeddedFontName"> method (also <p
style="font-family:myEmbeddedFontName;"> and any other method of setting font
in HTML content)

Hope this helps

Reply With Quote
  #3  
Old 05-20-2008, 07:48 AM
TwiztedBreeze
Guest
 
Default Re: Can you embed .FON font files in Flash?

I'm using Flex for development and in what passes for a "Help system" in it
there is one page that says .FON files are supported and another where it says
they aren't.

I've looked at CS3 also and placing a textfield in your application doesn't
allow you to select .FON files for your font, only TTF ones.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:25 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.