freetype
[Top][All Lists]
Advanced

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

Re: [ft] Embedded bitmaps in a TTF


From: George Williams
Subject: Re: [ft] Embedded bitmaps in a TTF
Date: 07 May 2008 08:02:59 -0700

On Wed, 2008-05-07 at 07:44, Nik Napalm wrote:
> Hi, I've a font that uses embedded bitmaps between certain point
> sizes, now when I use FT_Load_Char in the range these bitmaps reside,
> the bitmaps get displayed correctly but there seems that the metrics
> are based on the bitmaps bounds rather than the matrics had an outline
> been used, mainly advance etc, I know this font displays fine in
> WordPad which usually makes a mess of some fonts so I guess I'm
> getting the metrics wrong or doing something else silly.
There seems to be a bug in the windows rasterizer that it will ignore
bitmap metrics (and use scaled outline metrics even if displaying
bitmaps) if but 0x10 of the 'head'.flags field is unset.

Since metrics data are present in the bitmap strikes, presumably those
data should be used when displaying bitmaps, but windows does not always
do this.





reply via email to

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