Closed Bug 719648 Opened 12 years ago Closed 11 years ago

Incorrect default font-weight for web fonts

Categories

(Core :: Graphics: Text, defect)

9 Branch
x86
macOS
defect
Not set
normal

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.
Please as a testcase.  This should be webpage source that loads and uses the font as an attachment to this bug.
Attached file Web font to test (obsolete) —
Fonts in question
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'); }
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
(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.
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.

Attachment

General

Creator:
Created:
Updated:
Size: