upper spacing for big fonts is higher with DirectWrite than without

RESOLVED INVALID

Status

()

Core
Graphics
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
Created attachment 480449 [details]
Screenshot of the score with DW enabled

Build : Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b7pre) Gecko/20101002 Firefox/4.0b7pre

The score of this football match is displayed with a big font.
With DW enabled, the upper spacing is higher than without it.
(Reporter)

Comment 1

7 years ago
Created attachment 480450 [details]
Screenshot of the score with DW disabled
Yes, directwrite reports slightly different font metrics than GDI does.  It also draws the fonts slightly differently.  What's the bug?
It appears 'Bolder' is specified twice here (for .scx and .sc1), for the Arial Family. DirectWrite will find Arial Black here (which is a bolder font face than just Arial Bold). GDI didn't find this font. The page seems to rely on the incorrect GDI behavior.
Ah, good catch.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.