I found http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java , DHTMLWriter#importFontStyle:
> env.warn("DHTMLWriter does not support importing fonts");
That's where we'd have to put the code for injecting CSS code like:
@font-face {
        font-family: "Kimberley";
src: url(http://www.princexml.com/fonts/larabie/ ยป kimberle.ttf) format("truetype");
}
The relevant documentation for @font-case in CSS3 can be found here: 
http://www.w3.org/TR/css3-fonts/#font-resources

On Aug 23, 2009, at 4:17 PM, Raju Bitter wrote:

I saw that there's no LzFontManager class for DHTML, like the SWF9 version:
http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzFontManager.as
http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/

What would it take to add <font> tag support to the compiler?

Based on what I know the only page in the Wiki on DHTML and fonts is here:
http://wiki.openlaszlo.org/Runtime_Differences#.3Cfont.2F.3E_includes

And here's an old discussion around fonts:
http://www.mail-archive.com/[email protected]/msg02690.html

- Raju





Reply via email to