Open
Bug 601152
Opened 14 years ago
Updated 2 years ago
Fonts are taking more space with DirectWrite than with GDI
Categories
(Core :: Graphics, defect)
Tracking
()
NEW
People
(Reporter: stream, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: parity-ie, testcase)
Attachments
(2 files)
I have noticed that the input field in one page is not the same height like before, so i made screenshot to see where is the difference.
Looks like there is 1px more than before from the bottom side. All other browsers including Firefox 3.6 are not showing this.
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Looks identical to me with 3.6 and current trunk, on Mac. Does turning off dwrite on Windows change the rendering?
Comment 3•14 years ago
|
||
On my system (GTK), it's 1 pixel bigger than the div on 3.6 and trunk.
Comment 4•14 years ago
|
||
Right; the sizing will depend on your OS theme and font metrics....
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #2)
> Looks identical to me with 3.6 and current trunk, on Mac. Does turning off
> dwrite on Windows change the rendering?
Yes when i uncheck the option "use hardware acceleration when available" in Options and restart (omg!), the problem goes away.
But in IE9 there is no problem. It uses hardware acceleration too right?
Comment 6•14 years ago
|
||
IE9 use directwrite, yes. But there are other differences in form control rendering that might affect this (e.g. they may be using different font metrics from us).
In any case, the point is that the rendering there depends on font metrics, and that font metrics will differ across users' systems. You should not rely on particular font metrics.
Comment 7•14 years ago
|
||
And certainly not a form controls issue. Over to graphics, but again I suspect dwrite is just telling us slightly different things than gdi was due to different antialiasing and the like.
Component: Layout: Form Controls → Graphics
QA Contact: layout.form-controls → thebes
Reporter | ||
Updated•14 years ago
|
Keywords: regression
Summary: Input fields in fx4 are 1px higher than all other browsers → Fonts are taking more space with DirectWrite than with GDI
Whiteboard: [parity-IE]
Still happening with current Nightly, Chrome 34 and IE 11 have no problem.
Comment 9•10 years ago
|
||
Probably a duplicate of Bug 643781.
Comment 10•7 years ago
|
||
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-ie
Whiteboard: [parity-IE]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•