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

Issue 213153006: Fix size of rotated text with FreeType. (Closed)

Created:
6 years, 9 months ago by bungeman-skia
Modified:
6 years, 8 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix size of rotated text with FreeType. This generalizes and shares the solution found for a similar issue with GDI. The issue is that the text size is applied early, and the rest of the transformation late. This allows us to isolate and independently control the text size from the rest of the transformation. R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=14201

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -60 lines) Patch
M gyp/utils.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkFloatingPoint.h View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 4 5 5 chunks +69 lines, -33 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 3 4 5 2 chunks +3 lines, -27 lines 0 comments Download
A src/utils/SkMatrix22.h View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A src/utils/SkMatrix22.cpp View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
bungeman-skia
This fixes the issue where rotating text with FreeType would cause the height of the ...
6 years, 9 months ago (2014-03-26 20:03:24 UTC) #1
reed1
https://codereview.chromium.org/213153006/diff/60001/src/utils/SkMatrix22.cpp File src/utils/SkMatrix22.cpp (right): https://codereview.chromium.org/213153006/diff/60001/src/utils/SkMatrix22.cpp#newcode34 src/utils/SkMatrix22.cpp:34: G->setAll(c, -s, 0, SkMatrix::setSinCos(-s, c) https://codereview.chromium.org/213153006/diff/60001/src/utils/SkMatrix22.h File src/utils/SkMatrix22.h (right): ...
6 years, 9 months ago (2014-03-26 20:19:57 UTC) #2
reed1
maybe move matrix22 into core for now, to make DEPS rolls easier
6 years, 9 months ago (2014-03-26 20:21:05 UTC) #3
bungeman-skia
On 2014/03/26 20:21:05, reed1 wrote: > maybe move matrix22 into core for now, to make ...
6 years, 8 months ago (2014-03-27 21:02:31 UTC) #4
reed1
still would like a more readable name to the matrix helper. adding experts on evaluating ...
6 years, 8 months ago (2014-03-27 21:07:00 UTC) #5
bungeman-skia
For my own sanity, I'm setting this up as a suppression. https://codereview.chromium.org/213153006/diff/60001/src/utils/SkMatrix22.cpp File src/utils/SkMatrix22.cpp (right): ...
6 years, 8 months ago (2014-04-08 21:33:38 UTC) #6
reed1
lgtm
6 years, 8 months ago (2014-04-09 12:14:05 UTC) #7
f(malita)
On 2014/04/08 21:33:38, bungeman1 wrote: > For my own sanity, I'm setting this up as ...
6 years, 8 months ago (2014-04-09 14:09:37 UTC) #8
bungeman-skia
On 2014/04/09 14:09:37, Florin Malita wrote: > On 2014/04/08 21:33:38, bungeman1 wrote: > > For ...
6 years, 8 months ago (2014-04-09 14:20:39 UTC) #9
Stephen Chennney
On 2014/04/09 14:20:39, bungeman1 wrote: > On 2014/04/09 14:09:37, Florin Malita wrote: > > On ...
6 years, 8 months ago (2014-04-09 14:29:19 UTC) #10
bungeman-skia
6 years, 8 months ago (2014-04-15 15:52:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r14201 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698