[Webkit-unassigned] [Bug 6146] REGRESSION: Bold font used for Google search result pages is too thick

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Dec 20 13:33:36 PST 2005


sullivan at apple.com changed:

           What    |Removed                     |Added
                 CC|                            |darin at apple.com

------- Additional Comments From sullivan at apple.com  2005-12-20 13:33 -------
Using my reduction, in -[WebTextRendererFactory fontWithFamilies:traits:size:], the NSFont that's 
returned is:

"Arial-BoldMS 16.00 pt. P [] (0x22c9ef40) fobj=0x222d6580, spc=4.45"

However, [[NSFontManager sharedFontManager] traitsOfFont:font] returns 0.

So this font is visually bold, and its name includes "Bold" (so it's obviously supposed to be bold), but 
NSFontManager doesn't think it's bold. That's why it's getting the syntheticBold bit applied and 
appearing doubly bold.

Maybe this particular font is bad on my machine somehow. I don't know where it came from (installing 
some Microsoft product, presumably). I'll test what happens on my PowerBook in this same code.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list