DescriptionMerge 87846 - 2011-06-01 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Text is scaled in a stair-step pattern
https://bugs.webkit.org/show_bug.cgi?id=60317
Stop scaling the specified font to the actual on-screen value when font-rendering:
geometricPrecision is specified, but instead scale the graphics context. This allows
us to scale text up and down smoothly.
Test: svg/text/scaling-font-with-geometric-precision.html
* rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::computeNewScaledFontForStyle):
2011-06-01 Levi Weintraub <leviw@chromium.org>
Reviewed by Eric Seidel.
Text is scaled in a stair-step pattern
https://bugs.webkit.org/show_bug.cgi?id=60317
Stop scaling the specified font to the actual on-screen value when font-rendering:
geometricPrecision is specified, but instead scale the graphics context. This allows
us to scale text up and down smoothly.
* platform/mac/svg/text/scaling-font-with-geometric-precision-expected.png: Added.
* platform/mac/svg/text/scaling-font-with-geometric-precision-expected.txt: Added.
* svg/text/scaling-font-with-geometric-precision.html: Added.
TBR=leviw@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89365
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|