Can any body help me about embedding fonts in Deng Modular Browser?
The official deng site is not having any link to this tutorial.
If anybody came across this...please help me...
Like this:
- embed your font in your main SWF and give it a linkage identifier
- DENG does not know that you embedded a font. You have to tell DENG
what embedded fonts you are using, by setting the components
"embeddedFonts" property. This property takes an array of Font Linkage
Identifiers, e.g.: deng_mc.embeddedFonts = ["my_embedded_font"];
- Now you are ready to use your embedded font(s) in your XML/XHTML
documents. In your CSS, just include the fonts Linkage Identifier in the
list of font families, like here:
div { font-family: "my_embedded_font", Arial, sans-serif; }
Cheers,
Claus.
--
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com