[swfmill] [ Font import patch
Ralf Fuest
ralf-fuest at gmx.de
Tue Apr 10 14:34:17 EDT 2007
Hello Tobias,
when you don't want to wait until Daniel has time to apply the patch and
you know how to compile the source code you can do the following steps:
1. After you extracted the swfmill source code, copy the patch in the
swfmill-0.2.12.3 directory
2. Apply the patch by executing "patch -p0 < import_ttf.patch"
3. Compile as normal
Ralf
Am Dienstag, den 10.04.2007, 12:31 +0200 schrieb Tobias Hinz:
> Hey.
>
> How to apply this patch?
> Im really working a lot with fonts and swfmill.
>
> Cheers, tobias
>
> SKYCO GmbH, Process and Workflow Management
>
> Schliemannstr. 5 I 10437 Berlin
>
> Tel. +49 30 55009711 I Fax +49 30 48494771
>
> email: th at skyco.de http://www.skyco.de
>
> -----Ursprüngliche Nachricht-----
> Von: swfmill-bounces at osflash.org [mailto:swfmill-bounces at osflash.org] Im
> Auftrag von Ralf Fuest
> Gesendet: Sonntag, 8. April 2007 14:30
> An: swfmill at osflash.org
> Betreff: [swfmill] Font import patch
>
> I tried to use swfmill together with the font DejaVuSans-ExtraLight
> (dejavu.sf.net), but at least 2 glyphs (p and d) are imported
> incorrectly.
> While I was trying to understand the code I found an interesting
> function in the FreeType API Reference (FT_Outline_Decompose) that
> allows to simplify the importing. All fonts I have testet seem to work
> with the new code. I've also testet the MSGOTHIC glyphs that showed
> similar errors some time ago and they also work fine.
>
> I had an problem understanding the ShapeMaker code. Does the R in
> lineToR, setupR,... stand for relative? This would be misleading,
> because setupR is absolute and not relative. I temporarily added my own
> setup function (setup2), but someone who knows this code should look
> into it again.
>
> An comparison between the new and old code is available at:
> http://pep-mp.de/swfmill/import_ttf.png
> The patch: http://pep-mp.de/swfmill/import_ttf.patch
>
> I also made another unrelated little patch, that fixed a segfault while
> importing an SVG file: http://pep-mp.de/swfmill/css.patch
>
> Ralf
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
More information about the swfmill
mailing list