Rework face synthesis once again. Code is simpler now, and we don't
authorTor Lillqvist <tml@novell.com>
Tue, 27 May 2008 21:13:36 +0000 (21:13 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 27 May 2008 21:13:36 +0000 (21:13 +0000)
commit40862dc4ed32de13f848bfb5aba8d63c851abb62
treecb94af74d9dcd9e8adfabd1b9ac145b3b56e8674
parenta8bbb8fa9a2cc1b9a2ce1467c053c2d1ff2534da
Rework face synthesis once again. Code is simpler now, and we don't

2008-05-28  Tor Lillqvist  <tml@novell.com>

* pango/pangowin32-fontmap.c (synthesize_foreach)
(_pango_win32_font_map_init): Rework face synthesis once
again. Code is simpler now, and we don't needlessly synthesize
bold weights for fonts that have a real semi-bold weight, like
Lucida Sans. (The bold weight ended up looking like the semi-bold
anyway.)
(pango_win32_font_description_from_logfont): Recognize the
semi-bold weight interval.

svn path=/trunk/; revision=2642
ChangeLog
pango/pangowin32-fontmap.c