[Laszlo-dev] embedded font support for swf9

Henry Minsky henry.minsky at gmail.com
Wed Jan 16 09:00:02 PST 2008


I added in some basic support for embedded fonts to the swf9 implementation.


The fonts themselves are embedded using the [Embed ...] as3 compiler
directive.

I omitted the code in the SWF(9)Writer that runs the JGenerator font
transcoder. That
is being used to generate font metrics, which I am not sure anyone is
actually using.
We can put that in again if and when we need it. Note that that code only
generates
font metrics for the first 256 chars in a font, which omits various unicode
chars.

There does not appear to be any way to access font metrics at runtime in the
Flash 9
runtime, but maybe I haven't looked at the docs hard enough.





-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080116/7981529d/attachment.html


More information about the Laszlo-dev mailing list