approved.
On Nov 19, 2008, at 11:05 PM, Henry Minsky wrote:
Change 20081119-hqm-g by [EMAIL PROTECTED] on 2008-11-19 23:01:24 EST
in /Users/hqm/openlaszlo/trunk4
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: fix font loading in swf9 loadable libraries
New Features:
Bugs Fixed: LPP-7372
Technical Reviewer: ptw
QA Reviewer: dda
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ call Font.registerFont to register embedded font class; this seems
to be a global
class so calling it in the loadable library ends up registering the
font in the main app
+ use a counter to generate unique class name for each embedded font
+ updated the test case test/text/fonts.lzx to remove fonts which
don't transcode properly in swf9
+ also, figured out how to use the "-includes" compiler option to
include some classes
from the LFC into the compiled library app, even declaring the LFC
as "external" so it all
doesn't get linked in.
Tests:
test/snippets/fontloader.lzx in swf9
test/text/fonts.lzx runs inswf8, swf9
Files:
M test/text/fonts.lzx
M test/snippets/import-font.lzx
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081119-hqm-g.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com