PDA

View Full Version : Good font embedding Tut


familiarCat
07-12-2005, 04:56 PM
Does anyone know of a good tut on embedding fonts so they can be accessed with html formatted text (I need my DIN!). I can't seem to a) call the linkage of my fonts from the Library in the html b) find a tut that explains how to do this without creating a TextField object in AS...

Any help will be greatly appreciated;)
Brady

badlorry
07-13-2005, 01:43 PM
it's much easier doing it with AS

http://www.flash-mx.com/news/archives/000136.cfm

oldnewbie
07-14-2005, 05:10 AM
You know how to embed one font's style in a dynamic textfield, right?

All you have to do, is create off-stage textfields embedding all 3 styles (normal, bold, italic... if you intend to use them...) of all fonts you intend to use in your on-stage textfield...

You can then use the first font's normal style embedded as you standard font, and then used font tags to select any other of the embedded fonts' styles in the off-stage textfields, to use them in your on-stage textfield.

This will add between 15-30KBs per font style embedded, depending on the range of the embedded characters.