[Webkit-unassigned] [Bug 18863] weight mappings with @font-face aren't consistent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 2 22:50:48 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18863
------- Comment #1 from jdaggett at mozilla.com 2008-05-02 22:50 PDT -------
Created an attachment (id=20942)
--> (http://bugs.webkit.org/attachment.cgi?id=20942&action=view)
testcase, comparison of weight matching with and without @font-face
When the attached testcase is viewed in Webkit, several of the weight mappings
are incorrect:
1. Arial 800 should appear using Arial-Black
2. In the section labeled "Using font-family: Helvetica Neue",
Helvetica Neue 200 should appear as HelveticaNeue-UltraLight
(beware: 10.4 has correct weight definitions for this font but under 10.5 Cocoa
assigns incorrect font weights to HelveticaNeue-UltraLight)
3. In the section labeled "Using @font-face definitions"
Helvetica Neue 600 should appear as HelveticaNeue-Bold
Helvetica Neue 800 should appear as HelveticaNeue-CondensedBlack
The relevant weight mapping rules are detailed here:
http://www.w3.org/TR/CSS21/fonts.html#font-boldness
"If there are fewer then 9 weights in the family, the default algorithm for
filling the "holes" is as follows. If '500' is unassigned, it will be assigned
the same font as '400'. If any of the values '600', '700', '800' or '900'
remains unassigned, they are assigned to the same face as the next darker
assigned keyword, if any, or the next lighter one otherwise. If any of '300',
'200' or '100' remains unassigned, it is assigned to the next lighter assigned
keyword, if any, or the next darker otherwise."
--
Configure bugmail: http://bugs.webkit.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