ref: 143971202acf2a76fe45ebb77e7bf1fe29971061
parent: 141f0ea5abc2e5d44c8e82c353839ca497d5f34e
author: Werner Lemberg <[email protected]>
date: Tue Jan 24 15:48:50 EST 2017
[sfnt] Fix Postscript name service for symbol fonts. * src/sfnt/sfdriver.c (sfnt_get_ps_name): Accept PID/EID=3/0 entries also.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2017-01-24 Werner Lemberg <[email protected]>
+ [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 <[email protected]>
+
[truetype] For OpenType 1.7: s/preferred/typographic/ (sub)family.
* include/freetype/ftsnames.h
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -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 &&