diff options
author | Tor Lillqvist <tml@iki.fi> | 2004-08-22 19:30:05 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2004-08-22 19:30:05 +0000 |
commit | 48f02d290109108d85b5b79788ecac4e82d8d5df (patch) | |
tree | 4b89209fefecfec702987317856cbeac5efce320 | |
parent | 489dd62481e0f78ab05790a303f4a6efbe37ac07 (diff) | |
download | pango-48f02d290109108d85b5b79788ecac4e82d8d5df.tar.gz |
Ignore synthetic vertical writing versions of East Asian fonts. (#145322,
2004-08-22 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore
synthetic vertical writing versions of East Asian fonts. (#145322,
John Ehresman)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 6 | ||||
-rw-r--r-- | pango/pangowin32-fontmap.c | 6 |
5 files changed, 29 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2004-08-22 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore + synthetic vertical writing versions of East Asian fonts. (#145322, + John Ehresman) + Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index e2b0e4c5..2a359c5a 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +2004-08-22 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore + synthetic vertical writing versions of East Asian fonts. (#145322, + John Ehresman) + Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index e2b0e4c5..2a359c5a 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +2004-08-22 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore + synthetic vertical writing versions of East Asian fonts. (#145322, + John Ehresman) + Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index e2b0e4c5..2a359c5a 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +2004-08-22 Tor Lillqvist <tml@iki.fi> + + * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore + synthetic vertical writing versions of East Asian fonts. (#145322, + John Ehresman) + Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index ba93d30c..4102c7dc 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -206,7 +206,11 @@ pango_win32_inner_enum_proc (LOGFONT *lfp, DWORD fontType, LPARAM lParam) { - pango_win32_insert_font (fontmap, lfp); + /* Windows generates synthetic vertical writing versions of East + * Asian fonts with @ prepended to their name, ignore them. + */ + if (lfp->lfFaceName[0] != '@') + pango_win32_insert_font (fontmap, lfp); return 1; } |