Thanks for your response, Henry. One remaining question. Is the
<import> tag only available in proxied (non-SOLO) apps? I can see that
to use the import tag, we point it at an LZX file, which I imagine would
need to be compiled - and thus, the question. :)
Thanks,
-Rich
Henry Minsky wrote:
Yes, it works now, if you include the font in a <import>'ed library, I
believe that when you load that
library at runtime, the font will become accessible.
It is done with a nasty Flash trick, the loadable library exports its
own assets, and then imports them. Fonts, being
global resources, end up imported into the parent application global
font namespace.
On Thu, Feb 28, 2008 at 2:34 PM, Rich Christiansen <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hey all!
Is dynamic loading of fonts possible in OpenLaszlo? It doesn't
seem that this is supported on an LZX level, but if I drop down
into lower level scripting, can it be done? I'm working on an app
that needs to access up to 50 fonts or so, and would really like
to avoid including all of the fonts in the initial Laszlo download.
Thanks! :)
-Rich
--
Henry Minsky
Software Architect
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>