Closed
Bug 719648
Opened 12 years ago
Closed 11 years ago
Incorrect default font-weight for web fonts
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: rob, Unassigned)
Details
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7 Steps to reproduce: Loaded Futura Bold Condensed web font from bitsteam at myfonts.com Actual results: The font loaded way too heavy Expected results: Every other browser loads the font with default font-weight: normal; Firefox did not.
Comment 1•12 years ago
|
||
Please as a testcase. This should be webpage source that loads and uses the font as an attachment to this bug.
Reporter | ||
Comment 2•12 years ago
|
||
Fonts in question
Reporter | ||
Comment 3•12 years ago
|
||
Disregard attachment. Here is the css: @font-face {font-family: 'FuturaBT-BoldCondensed';src: url('webfonts/futura/eot/style_610.eot?#iefix') format('embedded-opentype'),url('webfonts/futura/woff/style_610.woff') format('woff'),url('webfonts/futura/ttf/style_610.ttf') format('truetype'),url('webfonts/futura/svg/style_610.svg#FuturaBT-BoldCondensed') format('svg'); }
Reporter | ||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
Reporter | ||
Comment 6•12 years ago
|
||
Attachment #590040 -
Attachment is obsolete: true
Are we applying synthetic bolding in this case because the @font-face rule didn't say the font was bold, but the style using the font asked for bold? Or is this a Mac-specific rendering issue? In any case, an HTML testcase is needed to tell (not just a tiny piece of the CSS).
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Comment 8•11 years ago
|
||
(In reply to David Baron [:dbaron] (don't cc:, use needinfo? instead) from comment #7) > Are we applying synthetic bolding in this case because the @font-face rule > didn't say the font was bold, but the style using the font asked for bold? > > Or is this a Mac-specific rendering issue? > > > In any case, an HTML testcase is needed to tell (not just a tiny piece of > the CSS). Note that the @font-face rule mentioned in comment 3 does *not* declare the font-weight descriptor, so it will default to normal (400). But the "problem" elements in the screenshot are all headings, so they're almost certainly styled with font-weight:bold. So I'm virtually certain it's (correct) application of synthetic bold, due to lack of the appropriate font-weight descriptor.
Comment 9•11 years ago
|
||
This may also be that the author prefers one form of synthetic bolding to another (Chrome vs. Safari vs. Gecko). The right solution is to use the appropriate bold face.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•