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

Issue 16439004: Fix issues related to resolving fonts based on name. (Closed)

Created:
7 years, 6 months ago by djsollen
Modified:
7 years, 6 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix issues related to resolving fonts based on name. 1) non-system font files are not added to the cache. 2) We cache the default fonts for quick lookup. Committed: https://code.google.com/p/skia/source/detail?r=9441

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixes per comments #

Patch Set 3 : defer cache change to another CLwq #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -11 lines) Patch
M include/core/SkTypeface.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkTypeface.cpp View 1 2 chunks +16 lines, -8 lines 0 comments Download
M src/ports/SkFontHost_fontconfig.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
djsollen
7 years, 6 months ago (2013-06-05 13:06:55 UTC) #1
reed1
https://codereview.chromium.org/16439004/diff/1/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/16439004/diff/1/src/core/SkTypeface.cpp#newcode45 src/core/SkTypeface.cpp:45: static SkTypeface* gDefaultTypefaces[FONT_STYLE_COUNT] = {0}; nit: don't need {0} ...
7 years, 6 months ago (2013-06-05 13:23:57 UTC) #2
djsollen
https://codereview.chromium.org/16439004/diff/1/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/16439004/diff/1/src/core/SkTypeface.cpp#newcode45 src/core/SkTypeface.cpp:45: static SkTypeface* gDefaultTypefaces[FONT_STYLE_COUNT] = {0}; On 2013/06/05 13:23:57, reed1 ...
7 years, 6 months ago (2013-06-05 13:51:59 UTC) #3
djsollen
updated to defer the extra cache lookup to another CL.
7 years, 6 months ago (2013-06-05 14:09:09 UTC) #4
djsollen
7 years, 6 months ago (2013-06-05 14:20:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r9441.

Powered by Google App Engine
This is Rietveld 408576698