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

Issue 64243002: Restore old behavior where "Sans" was used as fallback font (Closed)

Created:
7 years, 1 month ago by fs
Modified:
7 years, 1 month ago
CC:
blink-reviews, Paweł Hajdan Jr., rogerj
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Restore old behavior where "Sans" was used as fallback font https://codereview.chromium.org/31923005 changed the fallback font logic, it was probably not intended since it merely moved code around. This restores the logic so that "Sans" is always tried when looking for a fallback family. SkFontConfigInterface_direct.cpp looks for fallbacks among all available fonts iff "Sans", "Serif", "Monospace" or "" is requested. So it's important that at least one of those is tried. This avoids crashing the renderer process if "Arial" is missing on the system. BUG=309714 AUTHOR=rogerj@opera.com TBR=eae@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161534

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M Source/platform/fonts/AlternateFontFamily.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
fs
May be related to crash described in https://groups.google.com/a/chromium.org/d/msg/blink-dev/qCeDWXMoOMU/jo5tIVpLMy8J
7 years, 1 month ago (2013-11-07 12:37:04 UTC) #1
fs
CC'd original author of the patch.
7 years, 1 month ago (2013-11-07 12:39:36 UTC) #2
jochen (gone - plz use gerrit)
lgtm
7 years, 1 month ago (2013-11-07 13:42:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/64243002/1
7 years, 1 month ago (2013-11-07 14:10:04 UTC) #4
commit-bot: I haz the power
Change committed as 161534
7 years, 1 month ago (2013-11-07 15:09:16 UTC) #5
eae
7 years, 1 month ago (2013-11-07 16:33:17 UTC) #6
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698