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

Issue 23601041: Update Android's FontHost to return NULL if familyName does not match (Closed)

Created:
7 years, 3 months ago by djsollen
Modified:
7 years, 2 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Update Android's FontHost to return NULL if familyName does not match R=scroggo@google.com, wangxianzhu@chromium.org Committed: https://code.google.com/p/skia/source/detail?r=11377

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressing comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/ports/SkFontConfigInterface_android.cpp View 1 1 chunk +4 lines, -3 lines 0 comments Download
A tests/Typeface.cpp View 1 chunk +30 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (0 generated)
djsollen
If we land this change we will also need to land a change in chromium ...
7 years, 3 months ago (2013-09-18 19:45:18 UTC) #1
reed1
https://codereview.chromium.org/23601041/diff/1/src/ports/SkFontConfigInterface_android.cpp File src/ports/SkFontConfigInterface_android.cpp (right): https://codereview.chromium.org/23601041/diff/1/src/ports/SkFontConfigInterface_android.cpp#newcode496 src/ports/SkFontConfigInterface_android.cpp:496: SkASSERT(face); Why are we asserting here?
7 years, 3 months ago (2013-09-18 19:51:36 UTC) #2
djsollen
https://codereview.chromium.org/23601041/diff/1/src/ports/SkFontConfigInterface_android.cpp File src/ports/SkFontConfigInterface_android.cpp (right): https://codereview.chromium.org/23601041/diff/1/src/ports/SkFontConfigInterface_android.cpp#newcode496 src/ports/SkFontConfigInterface_android.cpp:496: SkASSERT(face); On 2013/09/18 19:51:37, reed1 wrote: > Why are ...
7 years, 3 months ago (2013-09-18 19:57:30 UTC) #3
scroggo
lgtm https://codereview.chromium.org/23601041/diff/1001/tests/Typeface.cpp File tests/Typeface.cpp (right): https://codereview.chromium.org/23601041/diff/1001/tests/Typeface.cpp#newcode24 tests/Typeface.cpp:24: SkAutoTUnref<SkTypeface> t3(SkTypeface::CreateFromName("non-existent-font", SkTypeface::kNormal)); nit: 100 chars.
7 years, 3 months ago (2013-09-18 20:18:41 UTC) #4
Xianzhu
Thanks Derek for the CL. A question: I remember that Android framework needs the fallback ...
7 years, 3 months ago (2013-09-18 20:28:17 UTC) #5
djsollen
Yes, it does require a framework change and I've already uploaded that for review (I'll ...
7 years, 3 months ago (2013-09-18 20:30:15 UTC) #6
Xianzhu
Never mind. Just saw your CL in Android corresponding to this change.
7 years, 3 months ago (2013-09-18 20:35:29 UTC) #7
Xianzhu
lgtm
7 years, 3 months ago (2013-09-18 20:35:57 UTC) #8
djsollen
Committed patchset #2 manually as r11377 (presubmit successful).
7 years, 3 months ago (2013-09-19 12:08:48 UTC) #9
Xianzhu
7 years, 2 months ago (2013-10-04 16:29:53 UTC) #10
Message was sent while issue was closed.
@djsollen, could you help close
https://code.google.com/p/skia/issues/detail?id=913 which has been fixed by this
CL? Thanks.

Powered by Google App Engine
This is Rietveld 408576698