[sfnt] Fix Postscript name service for symbol fonts.
* src/sfnt/sfdriver.c (sfnt_get_ps_name): Accept PID/EID=3/0 entries also.
This commit is contained in:
parent
141f0ea5ab
commit
143971202a
|
@ -1,3 +1,10 @@
|
|||
2017-01-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt] Fix Postscript name service for symbol fonts.
|
||||
|
||||
* src/sfnt/sfdriver.c (sfnt_get_ps_name): Accept PID/EID=3/0
|
||||
entries also.
|
||||
|
||||
2017-01-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] For OpenType 1.7: s/preferred/typographic/ (sub)family.
|
||||
|
|
|
@ -243,9 +243,10 @@
|
|||
|
||||
if ( name->nameID == 6 && name->stringLength > 0 )
|
||||
{
|
||||
if ( name->platformID == 3 &&
|
||||
name->encodingID == 1 &&
|
||||
name->languageID == 0x409 )
|
||||
/* handling of PID/EID 3/0 and 3/1 is the same */
|
||||
if ( name->platformID == 3 &&
|
||||
( name->encodingID == 1 || name->encodingID == 0 ) &&
|
||||
name->languageID == 0x409 )
|
||||
found_win = n;
|
||||
|
||||
if ( name->platformID == 1 &&
|
||||
|
|
Loading…
Reference in New Issue