[swfmill] Embedded fonts looks dfferent for flash8 and flash9 and different from Flash CS application
Michael Pliskin
pl at tepkom.ru
Sun May 4 09:47:49 PDT 2008
Hello Mark,
thanks for the pointers, I think we will look into the code anyway.
Will update the community about the results of course.
I don't think we need 100% similarity, we just need to improve the
look'n'feel a bit - currently, CS one seems a lot better in some
cases, and it'd be nice if swfmill output could be of comparable
quality.
Mike
MW> As far as I know, Swfmill only supports DefineFont2, not DefineFont3
MW> as it is used in SWF9 (or 8?). DefineFont3 would be needed to take
MW> advantage of the better font rendering settings.
MW> I might miss something, so please Dan or Ralf correct me, but it seems
MW> the places to look for are:
MW> <http://swfmill.org/trac/browser/trunk/src/xslt/simple-import.xslt>
MW> from line 140, and
MW> <http://swfmill.org/trac/browser/trunk/src/SWFImportFreetype.cpp> from
MW> line 48 need an importDefineFont3 equivalent.
MW> <http://swfmill.org/trac/browser/trunk/src/SWFGlyphList.cpp> might be
MW> of interest as well.
MW> Anyway, I don't know C++, but the links above should be a start.
MW> And the spec covers all of SWF, not just 9. The AVM2 opcodes are
MW> missing, though.
MW> Regarding differences in font output, I imagine that they still
MW> wouldn't be 100% the same, since Swfmill uses FreeType and Flash
MW> uses... something else. That something might be in the Flex SDK
MW> sources somewhere, but there it would probably be in Java.
MW> HTH,
MW> Mark
MW> On Sun, May 4, 2008 at 3:21 PM, Michael Pliskin <pl at tepkom.ru> wrote:
>> Hello Mark,
>>
>> MW> How about the official specs, which just had the restrictions removed
>> MW> a few days ago? :)
>>
>> MW> <http://www.adobe.com/devnet/swf/>
>>
>> I was going to use these ones, but I think Ralf can shade some light
>> on
>> - what is currently supported in swfmill
>> - what is missing
>> - where to look in source code
>> - some other comments/advice/whatever
>>
>> ;) btw this spec only covers swf9 I believe (or I am wrong)?
>>
>>
>>
>> --
>> Best regards,
>> Michael mailto:pl at tepkom.ru
>>
>>
--
Best regards,
Michael mailto:pl at tepkom.ru
More information about the swfmill
mailing list