Bug 19393

Summary: Don't render very small (but zoomed) text inside SVG
Product: WebKit Reporter: Edoardo Panfili <edoardo>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://elrond.aspix.it/tests/webkit.xhtml

Description Edoardo Panfili 2008-06-04 07:32:12 PDT
I have a very little text (font-size="0.050") placed iside a zoomed box (<g transform="matrix(400.0 0.0 0.0 -500.0 -4666.6668 21900.0)"> ) the text is not rebdered, you can compare the rendering of other browsers (... not IE).

At the URL specified you can find a test case.

Edoardo
Comment 1 Eric Seidel (no email) 2008-07-03 22:07:22 PDT
Seems like a bug.  Enabling-disabling the "minimum font size" in Safari does not change the behavior here.  We'll need to make a better/simpler reduction.
Comment 2 Edoardo Panfili 2010-05-05 10:04:00 PDT
a simpler test case:

http://elrond.aspix.it/tests/webkit2.xhtml

I hope this can help, it seems that the problem is in the calculated font size (too big). The font size is "0.05" and zoom factor is 100.

If font-size is 1 all works fine
Comment 3 Nikolas Zimmermann 2011-02-01 04:02:38 PST
The patch on bug 12448 fixes this problem. Thanks a lot for the testcase, I've integrated it in my patch.

*** This bug has been marked as a duplicate of bug 12448 ***