[Laszlo-dev] add font loading from runtime libraries UPDATED
Henry Minsky
henry.minsky at gmail.com
Tue Jan 30 18:21:22 PST 2007
Change 20070130-hqm-a by hqm at IBM-112E6A12815 on 2007-01-30 16:12:35 EST
in /cygdrive/c/users/hqm/openlaszlo/legals4
Summary: enable runtime font loading in snippets
New Features: fonts may be compiled into runtime loaded library files
Bugs Fixed:
LPP-3486 onload event never called in library loader
LPP-3485 support runtime font loading
Technical Reviewer: max (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
adding a ImportAssets tag in the library file, which points to itself,
causes the fonts
to appear visible to the main app
Release Notes:
Details:
There seems to be an issue with running this in non-SOLO apps, because the
URL of the library
when fetched via the LPS proxy is different than the SOLO URL which is
compiled into the ImportAssets
tag. So the library is fetched twice, once proxied to be run by loadMovie(),
and once SOLO as ImportAsset
scans it. But that's ok. No harm no foul.
+ Added ImportAssets2 tag to Jgenerator.
Tests:
test/snippets/fontloader.lzx
Files:
A test/resources/ttf/KentuckyFriedChickenFont.ttf
A test/snippets/fontloader.lzx
A test/snippets/fontlib.lzx
M test/snippets/index.html
M WEB-INF/lps/lfc/kernel/swf/LzLibraryCleanup.lzs
M WEB-INF/lps/lfc/kernel/swf/LzLibraryLoader.lzs
M WEB-INF/lps/lfc/kernel/swf/LzFontManager.as
M WEB-INF/lps/lfc/kernel/swf/Library.lzs
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ObjectWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/DHTMLWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWFWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/FontCompiler.java
M
WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/ImportCompiler.java
A WEB-INF/lps/server/jgenerator-2.2
/src/org/openlaszlo/iv/flash/api/ImportAssets2.java
M WEB-INF/lps/server/jgenerator-2.2
/src/org/openlaszlo/iv/flash/api/ImportAssets.java
M WEB-INF/lps/server/jgenerator-2.2
/src/org/openlaszlo/iv/flash/util/Tag.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070130-hqm-b.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070130/74357ba9/attachment.html
More information about the Laszlo-dev
mailing list