[Webkit-unassigned] [Bug 59589] REGRESSION(r77282-r77559): Scaled SVG text should pixel-align pre-scale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 27 05:46:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59589


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krit at webkit.org




--- Comment #1 from Dirk Schulze <krit at webkit.org>  2011-04-27 05:46:08 PST ---
(In reply to comment #0)
> Created an attachment (id=91256)
 --> (https://bugs.webkit.org/attachment.cgi?id=91256&action=review) [details]
> test case
> 
> See the attached test case.
> 
> <svg:g transform="scale(0.01)">
>     <svg:text x="0" y="2000" style="font-size: 1100px; font-family: Georgia;">
>         iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
>     </svg:text>
>  </svg:g>
> 
> The code above should draw "i" glyphs pixel aligned when they are 1100px large and then scaled down to 1/100 of its size.
> WebKit r77559 later draw them pixel-aligned as if they are 11px large (i.e. after scaled down 1/100).

Scale is like zooming, this of course influences the kerning as well. If I understand you right, you want to have the distances between the letters independent of the scaling? Nevertheless, the current behavior is exactly how it should look like and is the same like in Opera and Firefox. I'd like to mark this bug as invalid.

Btw. The example doesn't differ between Safari 5 and WebKit trunk.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list