Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1046)

Issue 7218014: Merge 87846 - 2011-06-01 Levi Weintraub <leviw@chromium.org> (Closed)

Created:
9 years, 6 months ago by leviw_travelin_and_unemployed
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/782/
Visibility:
Public.

Description

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M LayoutTests/ChangeLog View 1 chunk +15 lines, -0 lines 0 comments Download
A + LayoutTests/platform/mac/svg/text/scaling-font-with-geometric-precision-expected.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/platform/mac/svg/text/scaling-font-with-geometric-precision-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/svg/text/scaling-font-with-geometric-precision.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/WebCore/ChangeLog View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/WebCore/rendering/svg/RenderSVGInlineText.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
leviw_travelin_and_unemployed
9 years, 6 months ago (2011-06-21 18:02:09 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698