Map words that indicate weight and slant in the font name into the
authorTor Lillqvist <tml@novell.com>
Tue, 27 May 2008 23:12:56 +0000 (23:12 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 27 May 2008 23:12:56 +0000 (23:12 +0000)
commit281c17da32088daa9354850f862b6a395a214e50
tree3acbcba6f1ed4fdf1bc09dc37f70f88750929774
parentd9e7332ce248db65fd90ea2eebac32af459340f0
Map words that indicate weight and slant in the font name into the

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

* pango/pangowin32-fontmap.c
(pango_win32_font_description_from_logfont)
(pango_win32_font_description_from_logfontw):
Map words that indicate weight and slant in the font name into the
corresponding Pango font description settings, and strip those
words from the family name. This maps for instance the DejaVu
Sans, DejaVu Sans Condensed and DejaVu Sans Light fonts into a
single DejaVu Sans family with styles Ultra-Light, Condensed,
Oblique Condensed, Oblique, Bold Condensed, Bold, Bold Oblique
Condensed, and Bold Oblique, which is nice.

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