[cairo-bugs] [Bug 21543] wrong font weight for some Win32 fonts in PDF output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 6 01:40:00 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=21543





--- Comment #4 from Elmar Braun <elmar.braun at sh-p.de>  2009-05-06 01:39:58 PST ---
Might this be a solution? The LOGFONT structure tells us whether the font ought
to be bold and/or italic. The 'head' table [1] in the TrueType font data
contains a bitfild that tells us whether the font is bold and/or italic.
Compare the two, and disable 'TrueType font subsetting' in case of mismatch.

[1] http://www.microsoft.com/typography/OTSPEC/head.htm


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list