Summary: | SVG <text> with font-size smaller or equal to 1 does not paint correctly | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jean-Pierre Fiset <bugzilla> | ||||||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED DUPLICATE | ||||||||||
Severity: | Normal | CC: | ahayes, bugzilla, edoardo, marcus.erronius, nellisks, rhodovan.u-szeged, zimmermann | ||||||||
Priority: | P2 | ||||||||||
Version: | 523.x (Safari 3) | ||||||||||
Hardware: | Mac | ||||||||||
OS: | OS X 10.4 | ||||||||||
Attachments: |
|
Description
Jean-Pierre Fiset
2007-06-20 13:19:56 PDT
Created attachment 15144 [details]
Test Case
(In reply to comment #0) > Text element in SVG are not rendered correctly when the font-size is smaller > than or equal to 1, regardless if coordinate transformations make it equivalent > to large font size. > > This might be related to Bug 12172. It looks like only integer point values are allowed for font-size in SVG, regardless of how a later transformation might change the actual display size. See also bug 12448. The test case there could also be a test case for this bug. I think this might be 0.5px being rounded to 0, which AppKit maps to 12 (see bug 13891 comment #5 and below). Created attachment 26281 [details]
SVG incorrectly renders huge text
The rendered text should fit cleanly in each grid cell, but you can see it does not. Firefox renders correctly.
Created attachment 53602 [details]
svg file, with rendering problems
I hope that the test-case can be useful webkit: wrong rendering of text, Firefox and opera correct rendering, Illustrator does not render the text. the rendering problem persist with version 4.0.5 (6531.22.7, r57720) |