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

Issue 1125763002: Fix typeface ids on Mac. (Closed)

Created:
5 years, 7 months ago by bungeman-skia
Modified:
5 years, 7 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

Fix typeface ids on Mac. The current typeface ids with CoreText rely on ATS (which causes memory use issues) or font data (which is unreliable, and will not work with axes and synthetics). This changes the code so that stream fonts never end up in the cache and always get a unique id, and system fonts will be given an id as they are used. Committed: https://skia.googlesource.com/skia/+/64fb51d36df5d4e857c3425fe4cb1b1ecbd169fb

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove some leaks, maybe some races. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -93 lines) Patch
M src/core/SkTypefaceCache.h View 2 chunks +0 lines, -9 lines 0 comments Download
M src/core/SkTypefaceCache.cpp View 2 chunks +0 lines, -17 lines 0 comments Download
M src/ports/SkFontHost_mac.cpp View 1 7 chunks +46 lines, -67 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
bungeman-skia
https://codereview.chromium.org/1125763002/diff/1/src/ports/SkFontHost_mac.cpp File src/ports/SkFontHost_mac.cpp (left): https://codereview.chromium.org/1125763002/diff/1/src/ports/SkFontHost_mac.cpp#oldcode416 src/ports/SkFontHost_mac.cpp:416: ATSFontRef ats = CTFontGetPlatformFont(fontRef, NULL); This is known to ...
5 years, 7 months ago (2015-05-04 18:34:06 UTC) #2
reed1
lgtm
5 years, 7 months ago (2015-05-04 18:36:42 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125763002/20001
5 years, 7 months ago (2015-05-04 18:37:35 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-04 18:43:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125763002/20001
5 years, 7 months ago (2015-05-04 19:03:41 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-04 19:03:56 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/64fb51d36df5d4e857c3425fe4cb1b1ecbd169fb

Powered by Google App Engine
This is Rietveld 408576698