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

Issue 2171163002: Add test for typeface style round trip. (Closed)

Created:
4 years, 5 months ago by bungeman-skia
Modified:
4 years, 5 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add test for typeface style round trip. This also fixes the CG and GDI ports so they pass the test. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2171163002 Committed: https://skia.googlesource.com/skia/+/6e45bda29edef867468cbdd7c062d0d99e884656

Patch Set 1 #

Patch Set 2 : Fix mac. #

Patch Set 3 : Widen allowed values and fix Windows. #

Patch Set 4 : Fix whitespace, test on Linux. #

Total comments: 1

Patch Set 5 : Work around Mac for now. #

Total comments: 5

Patch Set 6 : Name extremes, add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -41 lines) Patch
M include/core/SkFontStyle.h View 1 2 3 4 5 1 chunk +11 lines, -9 lines 0 comments Download
M include/core/SkTypeface.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkFontStyle.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontConfigInterface_direct.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M src/ports/SkFontHost_mac.cpp View 1 2 3 2 chunks +82 lines, -23 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ports/SkFontMgr_fontconfig.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M tests/TypefaceTest.cpp View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
bungeman-skia
The motivation for this was mostly to fix the Mac port, which has been giving ...
4 years, 5 months ago (2016-07-22 21:37:32 UTC) #5
bungeman-skia
https://codereview.chromium.org/2171163002/diff/60001/tests/TypefaceTest.cpp File tests/TypefaceTest.cpp (right): https://codereview.chromium.org/2171163002/diff/60001/tests/TypefaceTest.cpp#newcode22 tests/TypefaceTest.cpp:22: SkSFNTHeader* sfntHeader = static_cast<SkSFNTHeader*>(data->writable_data()); This is what is actually ...
4 years, 5 months ago (2016-07-25 13:23:08 UTC) #6
reed1
lgtm w/ nits/questions https://codereview.chromium.org/2171163002/diff/80001/include/core/SkTypeface.h File include/core/SkTypeface.h (right): https://codereview.chromium.org/2171163002/diff/80001/include/core/SkTypeface.h#newcode349 include/core/SkTypeface.h:349: void setFontStyle(SkFontStyle style) { fStyle = ...
4 years, 5 months ago (2016-07-25 16:48:51 UTC) #7
bungeman-skia
https://codereview.chromium.org/2171163002/diff/80001/include/core/SkTypeface.h File include/core/SkTypeface.h (right): https://codereview.chromium.org/2171163002/diff/80001/include/core/SkTypeface.h#newcode349 include/core/SkTypeface.h:349: void setFontStyle(SkFontStyle style) { fStyle = style; } On ...
4 years, 5 months ago (2016-07-25 21:03:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2171163002/100001
4 years, 5 months ago (2016-07-25 21:38:21 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 22:11:52 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/6e45bda29edef867468cbdd7c062d0d99e884656

Powered by Google App Engine
This is Rietveld 408576698