Open Bug 403447 Opened 15 years ago Updated 13 years ago

text within SVG foreignObject under rotation has wandering baseline


(Core :: SVG, defect)

Not set




(Reporter: jtd, Unassigned)





(1 file)

The text that appears in a SVG foreignObject tag that references an iframe containing HTML text elements is rendered inconsistently across the line, the text appears to be rendered at various distances from the baseline.

Steps: click on the URL and compare with the original, unrotated version:

The attachment screenshot shows both versions.  Note the way "involved" dances all over the place in the rotated version.

My guess is that this is an underlying Cairo problem but I'll start by logging it against SVG for now.
Flags: blocking1.9?
Moving to P5 blocker
Flags: blocking1.9? → blocking1.9+
Priority: -- → P5
I'm not actually sure that this is a bug -- it could be that the rotated text is being hinted aggressively, thus pushing some of the vectors in alignment with vertical pixels...
Flags: blocking1.9+ → blocking1.9?
Priority: P5 → --
Flags: blocking1.9? → blocking1.9-
Fixed on trunk provided you have Vista or Windows 7 and direct write is enabled (gfx.font_rendering.directwrite.enabled = true)
Depends on: 527707
You need to log in before you can comment on or make changes to this bug.