Closed
Bug 458863
Opened 16 years ago
Closed 16 years ago
[@font-face] positioning of text with downloaded fonts differs from system fonts
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: jtd, Assigned: dbaron)
References
Details
(Whiteboard: [fixed by patch in 467084])
Attachments
(3 files)
When the same font is used both as a locally available font and as a downloadable font, the positioning of text varies. Steps: 1. Download the testcases into layout/reftests/fonts - or - Copy the testcases to a folder and put a copy of Ahem in that folder 2. Copy Ahem.ttf into a folder within ~/Library/Fonts 3. Restart trunk build 4. In two tabs, load the two attached testcases Result: the positioning of the red rectangle varies slightly
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Updated•16 years ago
|
Priority: -- → P3
Reporter | ||
Updated•16 years ago
|
Assignee: nobody → jdaggett
Comment 2•16 years ago
|
||
Side by side: left: using @font-face; right using the font installed on the system - the 2 blocks should be identical. This testcase uses a data url for the font (need to set gfx.downloadable_fonts.enforce_same_site_origin to false) Also available with downloadable font from http://dev.l-c-n.com/css3/font-face/baseline-test2.html ----- The odd thing I've noticed: if the downloaded font is used more than once, in separate block level elements, then it displays correctly: http://dev.l-c-n.com/css3/font-face/baseline-test2b.html
Reporter | ||
Updated•16 years ago
|
Summary: positioning of text with downloaded fonts differs from system fonts → [@font-face] positioning of text with downloaded fonts differs from system fonts
Comment 3•16 years ago
|
||
(In reply to comment #2) > Created an attachment (id=342062) [details] > alternative test case (with Ahem) The patch attached to bug 467084 makes this testcase pass.
Updated•16 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Assignee | ||
Comment 4•16 years ago
|
||
Yeah, the patch there should fix this; taking bug.
Assignee: jdaggett → dbaron
Status: NEW → ASSIGNED
Whiteboard: [fixed by patch in 467084]
Assignee | ||
Comment 5•16 years ago
|
||
Fixed on mozilla-central by bug 467084. That still needs to land on 1.9.1, though.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
You need to log in
before you can comment on or make changes to this bug.
Description
•