diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-04 00:50:13 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-04 00:50:13 +0000 |
commit | 1230979980bb4954fd5a360e095c4956ef77ac19 (patch) | |
tree | dd7a4587b5aec27baa0830a463eae38f3425c51b /gfx | |
parent | 714a498fed93071523c0c9f389083ed865f14255 (diff) | |
download | chromium_src-1230979980bb4954fd5a360e095c4956ef77ac19.zip chromium_src-1230979980bb4954fd5a360e095c4956ef77ac19.tar.gz chromium_src-1230979980bb4954fd5a360e095c4956ef77ac19.tar.bz2 |
ChromeOS status text halo polish.
- Fix the spikes on text of certain font by using round line join
instead of default mitter join;
- Use the same 0.7 black as other icons instead of 1.0 black;
BUG=chromium-os:9787
TEST=Verify fix for chromium-os:9787
Review URL: http://codereview.chromium.org/5522007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/canvas_skia_linux.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/canvas_skia_linux.cc b/gfx/canvas_skia_linux.cc index e07929b..903c99f 100644 --- a/gfx/canvas_skia_linux.cc +++ b/gfx/canvas_skia_linux.cc @@ -278,6 +278,7 @@ void DrawStringContext::DrawWithHalo(const SkColor& text_color, SkColorGetB(halo_color) / 255.0, SkColorGetA(halo_color) / 255.0); cairo_set_line_width(text_cr, 2.0); + cairo_set_line_join(text_cr, CAIRO_LINE_JOIN_ROUND); cairo_stroke_preserve(text_cr); cairo_set_operator(text_cr, CAIRO_OPERATOR_SOURCE); |