[cff] Return correct PS names from pure CFF (#46130).
* src/cff/cffdrivr.c (cff_get_ps_name): Use SFNT service only for SFNT.
This commit is contained in:
parent
30fe5e762e
commit
066a49139b
|
@ -1,3 +1,10 @@
|
||||||
|
2015-10-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[cff] Return correct PS names from pure CFF (#46130).
|
||||||
|
|
||||||
|
* src/cff/cffdrivr.c (cff_get_ps_name): Use SFNT service only for
|
||||||
|
SFNT.
|
||||||
|
|
||||||
2015-10-04 Werner Lemberg <wl@gnu.org>
|
2015-10-04 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[base] Replace left shifts with multiplication (#46118).
|
[base] Replace left shifts with multiplication (#46118).
|
||||||
|
|
|
@ -444,7 +444,7 @@
|
||||||
/* following the OpenType specification 1.7, we return the name stored */
|
/* following the OpenType specification 1.7, we return the name stored */
|
||||||
/* in the `name' table for a CFF wrapped into an SFNT container */
|
/* in the `name' table for a CFF wrapped into an SFNT container */
|
||||||
|
|
||||||
if ( sfnt )
|
if ( FT_IS_SFNT( FT_FACE( face ) ) && sfnt )
|
||||||
{
|
{
|
||||||
FT_Library library = FT_FACE_LIBRARY( face );
|
FT_Library library = FT_FACE_LIBRARY( face );
|
||||||
FT_Module sfnt_module = FT_Get_Module( library, "sfnt" );
|
FT_Module sfnt_module = FT_Get_Module( library, "sfnt" );
|
||||||
|
|
Loading…
Reference in New Issue