[Webkit-unassigned] [Bug 6530] Fixed-pitch font detection doesn't work for many fonts

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jan 14 04:47:41 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6530





------- Additional Comments From ap at nypop.com  2006-01-14 04:47 -------
Created an attachment (id=5662)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=5662&action=view)
test app listing what AppKit thinks about fixed-pitch fonts

Results on my machine (running 10.4.3):

isFixedPitch: Monaco (Monaco)
isFixedPitch: MS-Gothic (MS Gothic)
isFixedPitch: SimSun (SimSun)
Traits: CourierNewPS-ItalicMT (Courier New)
isFixedPitch: CourierNewPS-ItalicMT (Courier New)
isFixedPitch: Webdings (Webdings)
isFixedPitch: Courier (Courier)
Traits: Osaka-Mono (Osaka)
isFixedPitch: Osaka-Mono (Osaka)
Traits: LucidaSans-TypewriterOblique (Lucida Sans Typewriter)
isFixedPitch: LucidaSans-TypewriterOblique (Lucida Sans Typewriter)
isFixedPitch: MS-PGothic (MS PGothic)
Traits: LucidaSans-TypewriterBold (Lucida Sans Typewriter)
isFixedPitch: LucidaSans-TypewriterBold (Lucida Sans Typewriter)
Traits: CourierNewPS-BoldMT (Courier New)
isFixedPitch: CourierNewPS-BoldMT (Courier New)
isFixedPitch: MS-PMincho (MS PMincho)
isFixedPitch: Courier-Bold (Courier)
isFixedPitch: JCsmPC (#PCMyungjo)
isFixedPitch: MS-Mincho (MS Mincho)
Traits: GB18030Bitmap (GB18030 Bitmap)
Traits: CourierNewPS-BoldItalicMT (Courier New)
isFixedPitch: CourierNewPS-BoldItalicMT (Courier New)
Traits: AndaleMono (Andale Mono)
isFixedPitch: AndaleMono (Andale Mono)
Traits: CourierNewPSMT (Courier New)
isFixedPitch: CourierNewPSMT (Courier New)
Traits: LucidaSans-TypewriterBoldOblique (Lucida Sans Typewriter)
isFixedPitch: LucidaSans-TypewriterBoldOblique (Lucida Sans Typewriter)
Traits: LucidaSans-Typewriter (Lucida Sans Typewriter)
isFixedPitch: LucidaSans-Typewriter (Lucida Sans Typewriter)
isFixedPitch: PMingLiU (PMingLiU)
Traits: Ahem (Ahem)
isFixedPitch: Ahem (Ahem)

It can be seen that workarounds for Osaka-Mono are no longer needed, as 
-[NSFont isFixedPitch] and -[NSFontManager traitsOfFont:] are now in
accordance.
Monaco and Courier are problematic because -[NSFontManager traitsOfFont:] 
doesn't report them as fixed pitch. OTOH, MS-PGothic is one of several Asian
font 
that are reported as fixed-pitch, while they shouldn't be (MS-Gothic,
MS-Mincho, MS-PMincho, #PCMyungjo, PMingLiU, SimSun aren't handled in WebKit).

-- 
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