gdi32: Use a better heuristics for tmWeight.
commit69b29fa07e42fc281b62ed3e3bb1ec6bec9e2379
authorDmitry Timoshkov <dmitry@codeweavers.com>
Fri, 31 Jul 2009 13:21:51 +0000 (31 22:21 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 3 Aug 2009 12:59:08 +0000 (3 14:59 +0200)
tree2c1744eb2003e0de4305bba48ac86ed8fbe263ba
parent16aa1369f8fcfc07e81953aa6142423216579bd5
gdi32: Use a better heuristics for tmWeight.

Marlett uses FW_MEDIUM (500) and current code allows only FW_REGULAR and
FW_BOLD. New heuristics detects if flags and usWeightClass in the font match.
dlls/gdi32/freetype.c