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

Issue 164017: Linux: make gfx::Canvas honor GTK font settings. (Closed)

Created:
11 years, 4 months ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Linux: make gfx::Canvas honor GTK font settings. BUG=18038 TESTED=restarted chrome a bunch while mucking around with gnome-appearance-settings Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22555

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -0 lines) Patch
M app/gfx/canvas_linux.cc View 4 chunks +76 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Daniel Erat
http://codereview.chromium.org/164017/diff/1/2 File app/gfx/canvas_linux.cc (right): http://codereview.chromium.org/164017/diff/1/2#newcode21 Line 21: static cairo_font_options_t* cairo_font_options = NULL; Is there a ...
11 years, 4 months ago (2009-08-05 22:36:02 UTC) #1
agl
LGTM. The big hunk looked like duplicated code, but I guess the enum values are ...
11 years, 4 months ago (2009-08-05 22:45:57 UTC) #2
Daniel Erat
11 years, 4 months ago (2009-08-05 22:52:49 UTC) #3
On 2009/08/05 22:45:57, agl wrote:
> LGTM. The big hunk looked like duplicated code, but I guess the enum values
are
> all different so there's not a lot which can be done.

Thanks for the quick review!  Yeah, I was hoping I'd be able to reuse some of
the earlier code, but there's really not much there (and the logic is slightly
different -- Cairo uses an antialias setting with off/grayscale/subpixel values,
unlike GtkSettings or SkPaint).

Powered by Google App Engine
This is Rietveld 408576698