goocanvas r16 - in trunk: . src
- From: damon svn gnome org
- To: svn-commits-list gnome org
- Subject: goocanvas r16 - in trunk: . src
- Date: Sun, 5 Oct 2008 10:52:39 +0000 (UTC)
Author: damon
Date: Sun Oct 5 10:52:39 2008
New Revision: 16
URL: http://svn.gnome.org/viewvc/goocanvas?rev=16&view=rev
Log:
2008-10-05 Damon Chaplin <damon gnome org>
* src/goocanvastext.c (goo_canvas_text_create_layout): don't turn off
font hinting. I don't think it has any effect on text layout so we can
safely leave it on. Small text should be easier to read, as well as
non-antialiased text. Though it does seem to sometimes produce slightly
odd results for rotated text (see the 8-bit text in the demo).
Modified:
trunk/ChangeLog
trunk/src/goocanvastext.c
Modified: trunk/src/goocanvastext.c
==============================================================================
--- trunk/src/goocanvastext.c (original)
+++ trunk/src/goocanvastext.c Sun Oct 5 10:52:39 2008
@@ -409,7 +409,6 @@
font_options = cairo_font_options_create ();
cairo_font_options_set_hint_metrics (font_options, hint_metrics);
- cairo_font_options_set_hint_style (font_options, CAIRO_HINT_STYLE_NONE);
pango_cairo_context_set_font_options (context, font_options);
cairo_font_options_destroy (font_options);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]