mkfontscale/mkfontscale-examine-all-encodings.patch
DistroBaker 9c01dd74bb Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/mkfontscale.git#1653d0b5d0f82730a51501dadc4018bf8af85fee
2021-03-24 16:28:53 +01:00

14 lines
501 B
Diff

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