[cff] Fix handling of face_index == -1 for pure CFF.
* src/cff/cffobjs.c (cff_face_init): Return correct number of faces.
This commit is contained in:
parent
f380d743f2
commit
cd346da588
|
@ -1,3 +1,9 @@
|
|||
2016-02-03 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Fix handling of face_index == -1 for pure CFF.
|
||||
|
||||
* src/cff/cffobjs.c (cff_face_init): Return correct number of faces.
|
||||
|
||||
2016-01-30 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Minor tracing improvement.
|
||||
|
|
|
@ -586,7 +586,10 @@
|
|||
/* if we are performing a simple font format check, exit immediately */
|
||||
/* (this is here for pure CFF) */
|
||||
if ( face_index < 0 )
|
||||
{
|
||||
cffface->num_faces = (FT_Long)cff->num_faces;
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
||||
cff->pshinter = pshinter;
|
||||
cff->psnames = psnames;
|
||||
|
|
Loading…
Reference in New Issue