[Webkit-unassigned] [Bug 75781] Rounding artifact in SVGTextNode.getBBox()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 00:32:12 PDT 2012


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





--- Comment #8 from Dominik Röttsches (drott) <dominik.rottsches at intel.com>  2012-06-19 00:32:11 PST ---
(In reply to comment #6)
> Please forgive me if I get it all wrong: how can the rounding of user co-ordinates be needed for anything? They have nothing to do with pixels and rendering. They are exactly one transformation away from pixels and sub-pixels, and it is the transformed co-ordinates that I see rounded.

As far as my understanding of the code goes: The rounding happens because SVG and HTML text rendering share common code - HTML layout in WebKit traditionally had only integer precision (which is overcome by the SUBPIXEL_LAYOUT changes). So SVG had to map its representations to the integer space of HTML. This happens before the transformation and results in incorrect values after the upscaling.

-- 
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