Bug 10919

Summary: REGRESSION (r18680): Fonts with 'light' or 'ultra-light' defaulting to those instead of 'regular'
Product: WebKit Reporter: Mike Filippone (donkeyentertain) <mikef>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hyatt, mitz, timothy
Priority: P2 Keywords: HasReduction, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.apple.com/downloads/dashboard/
Attachments:
Description Flags
testcase none

Mike Filippone (donkeyentertain)
Reported 2006-09-18 10:28:48 PDT
I'm not sure if this is just my system, since I have about 1000 other fonts installed, but it works fine in regular Safari. Anyways, fonts with the font-size specified will load the 'ultra light' version of the font, if there is one. If there is a 'light' version of the font, it seems like you don't even need the font-size and it will load by default. If you throw in a font-weight in there, either font-weight:normal, or font-weight:400, nothing will happen. However, if you put font-weight:bold, or 800, it will load the 'bold' version of the font. Besides Helvetica Neue (which you need the font-weight in there to reproduce), I also tested American Typewriter and Gill Sans, which both had a 'light' version of the font. The font-size attribute did not need to be set to reproduce the error for those fonts.
Attachments
testcase (221 bytes, text/html)
2006-09-18 10:31 PDT, Mike Filippone (donkeyentertain)
no flags
Mike Filippone (donkeyentertain)
Comment 1 2006-09-18 10:31:20 PDT
Created attachment 10628 [details] testcase I put both ways to reproduce, with the Helvetica Neue (which needs font-size to reproduce), and Gill Sans (which does not).
mitz
Comment 2 2007-01-16 00:35:09 PST
mitz
Comment 3 2007-01-16 10:08:33 PST
*** This bug has been marked as a duplicate of 11027 ***
Note You need to log in before you can comment on or make changes to this bug.