[Laszlo-dev] LFC10.swc file size increase

Henry Minsky henry.minsky at gmail.com
Fri Dec 31 15:51:14 PST 2010


Some notes from the adobe forum on this,

http://forums.adobe.com/thread/487200

I'll file a JIRA bug for tracking this  issue

On Fri, Dec 31, 2010 at 6:08 PM, Henry Minsky <henry.minsky at gmail.com>wrote:

> That would be the new bidirectional text layout libraries.  We had to add a
> TextField work-alike to support bidirectional text input/output. They use
> the new Text Layout Framework (TLF) libraries in flex, and they are being
> statically linked in now, the culprit is this line in the call to the flex
> compiler:
>
>
> -static-link-runtime-shared-libraries
>
> I read in the flex docs that if we don't link statically, the  Flash
> runtime should be making a number of helpful efforts
> to locate the TLF  libraries; if they are not linked statically, it looks
> for them on the server, and if they are not found there
> it is supposed to try adobe's web site I believe. I wasn't able to get the
> dynamic linking to work for some reason when I implemented the bidi text
> stuff this summer, but
> that bloat of the object file is really pretty severe, we need to get the
> runtime linking to work.
>
>
>
>
>
> On Fri, Dec 31, 2010 at 5:57 PM, Raju Bitter <
> r.bitter.mailinglists at googlemail.com> wrote:
>
>> Inspecting the library.swf inside the SWC file, I noticed that for 4.9.0
>> there are the following components added:
>> ContainerController
>> TextContainerManager
>> TextFlow
>> TextFlowLine
>>
>> On Fri, Dec 31, 2010 at 11:35 PM, Raju Bitter <
>> r.bitter.mailinglists at googlemail.com> wrote:
>>
>>> What is the reason for the dramatic file size increase for the LFC10 SWC
>>> between 4.8.1 and 4.9.0?
>>> http://forum.openlaszlo.org/showthread.php?p=47079#post47079
>>>
>>> I did a test with 4.8.1 and 4.9.0, using this LZX code:
>>>  <canvas width="100%" height="100%" proxied="false">
>>> </canvas>
>>>
>>> File sizes are:
>>> 4.8.1/SWF8: 120kb
>>> 4.8.1/SWF10: 120kb
>>>
>>> 4.9.0/SWF8: 120kb
>>> 4.9.0/SWF10: 276kb
>>>
>>> 4.8.1 LFC10.swc: 243,196 bytes (uncompressed)
>>> 4.9.0 LFC10.swc: 669,301 bytes (uncompressed)
>>>
>>> That means, the LFC SWC library has more than doubled in size from 4.8.1
>>> to 4.9.0.
>>>
>>> - Raju
>>>
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>


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


More information about the Laszlo-dev mailing list