Closed Bug 550431 Opened 14 years ago Closed 13 years ago

[DW] first-letter causes vertical displacement of text

Categories

(Core :: Layout, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bas.schouten, Assigned: roc)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file Page with first-letter
When I add ::first-letter style to a line, the line will be positioned differently vertically than if I don't.
Blocks: 550761
Blocks: 549832
So I've confirmed that rounding the emAscent fixes these particular bugs. And it seems to be roughly what we do on GDI. Looking at the 53 reftest failures which are left (only 7 on GDI), a lot of them are kerning issues and such, but the metrics still seem to be off occasionally, we should probably have a careful look at ComputeMetrics in DWrite fonts.
I can't reproduce this any more, even when I set the max GDI Classic font size to 0.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: