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

Issue 149437: Linux: don't crash when performing font fallback to a non-scalable font. (Closed)

Created:
11 years, 5 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com, Lei Zhang
Visibility:
Public.

Description

Linux: don't crash when performing font fallback to a non-scalable font. Previously we were filtering out non-scalable fonts /after/ the fact. This patch changes it so that we specify to fontconfig that it shouldn't return non-scalable fonts to us. We also duplicate this code into WebFontInfo so that we don't get these issues when performing glyph-fallback.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M skia/ext/SkFontHost_fontconfig_direct.cpp View 2 chunks +4 lines, -10 lines 0 comments Download
M webkit/api/src/gtk/WebFontInfo.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
agl
11 years, 5 months ago (2009-07-10 01:19:01 UTC) #1
Evan Martin
11 years, 5 months ago (2009-07-10 01:20:13 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698