diff options
author | GitS7 <m.seume@seume.eu> | 2022-06-20 13:23:08 +0000 |
---|---|---|
committer | GitS7 <m.seume@seume.eu> | 2022-06-20 13:23:08 +0000 |
commit | 4a71f1dfffe510ab73ddf02c59b8861f3ee7befc (patch) | |
tree | b197de956bc4e0e4d22b31771001bc02fa97e180 /pango | |
parent | 067657395921919f04b7e949a9495045b05fdc02 (diff) | |
download | pango-4a71f1dfffe510ab73ddf02c59b8861f3ee7befc.tar.gz |
Update pango/pangowin32-fontmap.c
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pangowin32-fontmap.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index eff019b8..9b980122 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -220,12 +220,7 @@ pango_win32_enum_proc (LOGFONTW *lfp, PING (("%S: %lu %lx", lfp->lfFaceName, fontType, metrics->ntmFlags)); /* Do not enum Type-1 fonts */ - if (metrics->ntmFlags & NTM_TYPE1) - { - return 1; - } - - if (fontType == TRUETYPE_FONTTYPE || ((metrics->ntmFlags & NTM_PS_OPENTYPE) || (metrics->ntmFlags & NTM_TYPE1))) + if (fontType == TRUETYPE_FONTTYPE || metrics->ntmFlags & NTM_PS_OPENTYPE) { lf = *lfp; |