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 skyco.de http://www.skyco.de
>
> -----Ursprüngliche Nachricht-----
> Von: swfmill-bounces osflash.org
[mailto:swfmill-bounces osflash.org] Im
> Auftrag von Ralf Fuest
> Gesendet: Sonntag, 8. April 2007 14:30
> An: swfmill 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/s
wfmill/css.patch
>
> Ralf
>
>
> _______________________________________________
> swfmill mailing list
> swfmill osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
a>
>
>
> _______________________________________________
> swfmill mailing list
> swfmill osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
a>
_______________________________________________
swfmill mailing list
swfmill osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org
a>
|