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

Issue 691733004: Do not use SkCreateTypefaceFromCTFont for custom fonts (Closed)

Created:
6 years, 1 month ago by caseq
Modified:
6 years, 1 month ago
CC:
blink-reviews, krit, Rik, jbroman, danakj, pdr+graphicswatchlist_chromium.org, f(malita), rwlbuis, reed2, pfeldman
Project:
blink
Visibility:
Public.

Description

Do not use SkCreateTypefaceFromCTFont for custom fonts SkCreateTypefaceFromCTFont implies fonts are non-local (i.e. serialized as font name only, not the glyphs). This does not work with the dynamically loaded fonts, so just keep the SkTypeface we used to create in FontCustomPlatformDataMac rather than create one from CTFont. BUG=426088 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184884

Patch Set 1 #

Patch Set 2 : removed lion-specific test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -58 lines) Patch
D LayoutTests/platform/mac-lion/fast/text/font-variant-width-expected.txt View 1 1 chunk +0 lines, -25 lines 0 comments Download
D LayoutTests/platform/mac-lion/virtual/antialiasedtext/fast/text/font-variant-width-expected.txt View 1 1 chunk +0 lines, -25 lines 0 comments Download
M Source/platform/fonts/FontPlatformData.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/FontPlatformData.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
caseq
Skia keeps a flag that tells it whether a typeface needs to be serialized with ...
6 years, 1 month ago (2014-10-30 17:05:10 UTC) #2
reed1
6 years, 1 month ago (2014-10-30 17:25:33 UTC) #4
caseq
Oh, ok, I get it -- this bypasses the logic in FontPlatformData::ctFont() (https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm&l=278) that replaces ...
6 years, 1 month ago (2014-10-31 13:10:11 UTC) #5
bungeman-chromium
On 2014/10/31 13:10:11, caseq wrote: > Oh, ok, I get it -- this bypasses the ...
6 years, 1 month ago (2014-10-31 19:23:37 UTC) #6
bungeman-chromium
On 2014/10/31 19:23:37, bungeman2 wrote: > On 2014/10/31 13:10:11, caseq wrote: > > Oh, ok, ...
6 years, 1 month ago (2014-11-04 20:06:30 UTC) #7
bungeman-chromium
On 2014/11/04 20:06:30, bungeman2 wrote: > On 2014/10/31 19:23:37, bungeman2 wrote: > > On 2014/10/31 ...
6 years, 1 month ago (2014-11-04 21:31:41 UTC) #8
caseq
> Taking a closer look, it appears the reason why the bots are 'failing' with ...
6 years, 1 month ago (2014-11-05 01:49:55 UTC) #9
bungeman-chromium
lgtm
6 years, 1 month ago (2014-11-05 15:29:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691733004/20001
6 years, 1 month ago (2014-11-05 15:29:55 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/19082)
6 years, 1 month ago (2014-11-05 15:33:38 UTC) #14
bungeman-chromium
I like this, but we need an OWNER.
6 years, 1 month ago (2014-11-05 16:06:27 UTC) #16
f(malita)
lgtm
6 years, 1 month ago (2014-11-05 22:42:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691733004/20001
6 years, 1 month ago (2014-11-05 22:43:36 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-05 22:45:46 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 184884

Powered by Google App Engine
This is Rietveld 408576698