swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: [Swftools-common] pdf2swf issue with Font Display on Win


From: Matthias Kramm
Subject: Re: [PATCH] Re: [Swftools-common] pdf2swf issue with Font Display on WinCharSetFFFF-H (CID TrueType) fonts
Date: Tue, 9 Nov 2010 11:52:56 -0800
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Nov 09, 2010 at 01:51:50PM +0800, Irving Popovetsky <address@hidden> 
wrote:
> By removing "|FT_LOAD_NO_HINTING",  pdf2swf will use Xpdf's default (turn
> hinting on).     Problem is,  I don't understand why FT_LOAD_NO_HINTING is
> being set in the first place in swftools.  Is there a problem with some
> latin fonts in pdf2swf?

pdf2swf transcodes fonts. It takes the fonts polygons and uses them to 
create a FlashType font. As pdf2swf only uses the polygons in a font,
and nothing else, hinting doesn't make any difference- it would only 
affect how freetype would create bitmaps from the font, but not the
polygon outlines.
Hence, we don't need hinting, and leaving it turned on actually did
cause problems with fonts that had incorrect hinting information or 
broken bytecode.

So the only difference your patch might make is when you convert files
using "-s bitmap", as that is the only way to have freetype-rendered
bitmaps in the SWF output.
If that was indeed your goal, then I believe it should be possible to
enable hinting based on the value of the "config_full_bitmap_optimizing"
setting.

Matthias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]