* src/pfr/pfrload.c (pfr_sort_kerning_pairs): Single-byte

adjustments are unsigned, not signed.
This commit is contained in:
Werner Lemberg 2004-08-08 16:52:29 +00:00
parent dea712b4eb
commit 963cfcd012
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-08-06 Adam Piotrowski <st_intel@poczta.onet.pl>
* src/pfr/pfrload.c (pfr_sort_kerning_pairs): Single-byte
adjustments are unsigned, not signed.
2004-08-05 David Turner <david@freetype.org>
`Activate' gray-scale specifing hinting within the TrueType

View File

@ -4,7 +4,7 @@
/* */
/* FreeType PFR loader (body). */
/* */
/* Copyright 2002, 2003 by */
/* Copyright 2002, 2003, 2004 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -721,7 +721,7 @@
if ( item->flags & PFR_KERN_2BYTE_ADJ )
kerning = item->base_adj + FT_NEXT_SHORT( p );
else
kerning = item->base_adj + FT_NEXT_CHAR( p );
kerning = item->base_adj + FT_NEXT_BYTE( p );
pair->glyph1 = pfr_get_gindex( chars, num_chars, char1 );
pair->glyph2 = pfr_get_gindex( chars, num_chars, char2 );