fix bug in the PFM parser: kerning values must be read as 16-bit *signed* values
This commit is contained in:
parent
de5e686661
commit
085bc6e2b2
@ -1,3 +1,8 @@
|
||||
2007-03-05 David Turner <david@freetype.org>
|
||||
|
||||
* src/type1/t1afm.c (T1_Read_PFM): bug fix: read the kerning values
|
||||
as 16-bit *signed* values, not unsigned ones.
|
||||
|
||||
2007-02-21 David Turner <david@freetype.org>
|
||||
|
||||
* src/pshinter/pshalgo.c (psh_hint_align): Fix a bug in the hinting
|
||||
|
@ -193,7 +193,7 @@
|
||||
kp->index1 = FT_Get_Char_Index( t1_face, p[0] );
|
||||
kp->index2 = FT_Get_Char_Index( t1_face, p[1] );
|
||||
|
||||
kp->x = (FT_Int)FT_PEEK_USHORT_LE(p + 2);
|
||||
kp->x = (FT_Int)FT_PEEK_SHORT_LE(p + 2);
|
||||
kp->y = 0;
|
||||
|
||||
kp++;
|
||||
|
Loading…
Reference in New Issue
Block a user