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

Issue 162883002: Primary FontData of FontFallbackList should have space character (Closed)

Created:
6 years, 10 months ago by Kunihiko Sakamoto
Modified:
6 years, 10 months ago
Reviewers:
dglazkov, eae
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

Primary FontData of FontFallbackList should have space character This patch makes FontFallbackList::primaryFontData() skips SegmentedFontData that does not have space character. FontFallbackList::primarySimpleFontData() expects primaryFontData has FontData for space character. This prevents @font-face with unicode-range outside space character (for example, overrides only an ampersand) from being downloaded unnecessarily, and used as primary font. BUG=247920 TEST=fast/css/font-face-unicode-range-load.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167130

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M LayoutTests/fast/css/font-face-character-fallback.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/font-face-unicode-range-load.html View 3 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/fast/css/font-face-unicode-range-load-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/fonts/FontFallbackList.cpp View 2 chunks +7 lines, -1 line 0 comments Download
M Source/platform/fonts/SegmentedFontData.h View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kunihiko Sakamoto
6 years, 10 months ago (2014-02-13 10:09:12 UTC) #1
dglazkov
lgtm.
6 years, 10 months ago (2014-02-13 17:24:58 UTC) #2
Kunihiko Sakamoto
The CQ bit was checked by ksakamoto@chromium.org
6 years, 10 months ago (2014-02-14 00:46:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ksakamoto@chromium.org/162883002/1
6 years, 10 months ago (2014-02-14 00:46:23 UTC) #4
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 01:43:43 UTC) #5
Message was sent while issue was closed.
Change committed as 167130

Powered by Google App Engine
This is Rietveld 408576698