* src/pfr/pfrobjs.c (pfr_face_init): fix the computation
of 'face->num_glyphs' which missed the last glyph, due to the offset-by-1 computation, since the PFR format doesn't guarantee that glyph index 0 corresponds to the "missing glyph" should fix bug #16668
This commit is contained in:
parent
33779660ba
commit
0971735dce
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2006-06-04 David Turner <david@freetype.org>
|
||||
|
||||
* src/pfr/pfrobjs.c (pfr_face_init): fix the computation
|
||||
of 'face->num_glyphs' which missed the last glyph, due to
|
||||
the offset-by-1 computation, since the PFR format doesn't
|
||||
guarantee that glyph index 0 corresponds to the "missing
|
||||
glyph"
|
||||
|
||||
should fix bug #16668
|
||||
|
||||
2006-05-25 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* builds/unix/unix-cc.in (LINK_LIBRARY): Don't comment out
|
||||
|
@ -128,7 +128,7 @@
|
||||
|
||||
|
||||
pfrface->face_index = face_index;
|
||||
pfrface->num_glyphs = phy_font->num_chars;
|
||||
pfrface->num_glyphs = phy_font->num_chars + 1;
|
||||
pfrface->face_flags = FT_FACE_FLAG_SCALABLE;
|
||||
|
||||
if ( (phy_font->flags & PFR_PHY_PROPORTIONAL) == 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user