[sfnt] Fix face_index' value in
FT_Face' for named instances.
* src/sfnt/sfobjc.s (sfnt_init_face): Don't strip off higher 16bits.
This commit is contained in:
parent
631e218147
commit
ee3f36f6b3
@ -1,3 +1,9 @@
|
||||
2016-07-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt] Fix `face_index' value in `FT_Face' for named instances.
|
||||
|
||||
* src/sfnt/sfobjc.s (sfnt_init_face): Don't strip off higher 16bits.
|
||||
|
||||
2016-07-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Fix tracing.
|
||||
|
12
docs/CHANGES
12
docs/CHANGES
@ -1,4 +1,16 @@
|
||||
|
||||
CHANGES BETWEEN 2.6.5 and 2.7
|
||||
|
||||
I. IMPORTANT BUG FIXES
|
||||
|
||||
- After loading a named instance of a GX variation font, the
|
||||
`face_index' value in the returned `FT_Face' structure now
|
||||
correctly holds the named instance index in the upper 16bits as
|
||||
documented.
|
||||
|
||||
|
||||
======================================================================
|
||||
|
||||
CHANGES BETWEEN 2.6.4 and 2.6.5
|
||||
|
||||
I. IMPORTANT BUG FIXES
|
||||
|
@ -977,7 +977,7 @@
|
||||
#endif
|
||||
|
||||
face->root.num_faces = face->ttc_header.count;
|
||||
face->root.face_index = face_index;
|
||||
face->root.face_index = face_instance_index;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user