[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX val
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font |
Date: |
Mon, 25 Feb 2008 11:58:28 +0100 (CET) |
> Is there any harm in making the following change in TT_Load_Glyph()
>
> Replace
>
> if ( ( face->header.Flags & 2 ) == 0 && loader.pp1.x )
> FT_Outline_Translate( &glyph->outline, -loader.pp1.x, 0 );
>
> with
>
> if ( loader.pp1.x )
> FT_Outline_Translate( &glyph->outline, -loader.pp1.x, 0 );
>
> in order to accommodate bad fonts like this?
>
> Or does this have some unwanted side-effect?
There are buggy fonts which exhibit exactly the opposite behaviour,
this is, they would display incorrectly if we reverted this patch. (I
forgot the details, but I've added this code due to a bug report --
maybe you can find it somewhere in the list archive.)
Werner
- [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font, Bevan, David, 2008/02/22
- Re: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font, Werner LEMBERG, 2008/02/23
- RE: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font, Bevan, David, 2008/02/25
- Re: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font,
Werner LEMBERG <=
- RE: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingX values with Symbol TT font, Bevan, David, 2008/02/25
- RE: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingXvalues with Symbol TT font, Boris Letocha, 2008/02/25
- Re: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingXvalues with Symbol TT font, Werner LEMBERG, 2008/02/25
- RE: [ft-devel] FreeType 2.3.5 - incorrect bitmap_left / horiBearingXvalues with Symbol TT font, Boris Letocha, 2008/02/26