Blame SOURCES/mkfontscale-examine-all-encodings.patch
|
|
e91ffb |
diff --git a/mkfontscale.c b/mkfontscale.c
|
|
|
e91ffb |
index a67f283..96e19a3 100644
|
|
|
e91ffb |
--- a/mkfontscale.c
|
|
|
e91ffb |
+++ b/mkfontscale.c
|
|
|
e91ffb |
@@ -317,7 +317,7 @@ getName(FT_Face face, int nid)
|
|
|
e91ffb |
int i;
|
|
|
e91ffb |
|
|
|
e91ffb |
if(getNameHelper(face, nid,
|
|
|
e91ffb |
- TT_PLATFORM_MICROSOFT, TT_MS_ID_UNICODE_CS, &name) ||
|
|
|
e91ffb |
+ TT_PLATFORM_MICROSOFT, -1, &name) ||
|
|
|
e91ffb |
getNameHelper(face, nid,
|
|
|
e91ffb |
TT_PLATFORM_APPLE_UNICODE, -1, &name)) {
|
|
|
e91ffb |
string = malloc(name.string_len / 2 + 1);
|