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