summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-screen.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2010-10-21 14:03:38 +0200
committerUli Schlachter <psychon@znc.in>2010-10-21 22:20:31 +0200
commitd24e9881de7b392cfce1d82c9861553ece558aaf (patch)
tree27b15a754d10b41c953d9f82cbcbaee731545848 /src/cairo-xlib-screen.c
parentb514863a0ee8e6c4f0a994f6f5e7db18ce290e79 (diff)
downloadcairo-d24e9881de7b392cfce1d82c9861553ece558aaf.tar.gz
raster backends: Set round_glpyh_positions to ON
This fixes "text-rotate" in the test suite for the image backend and "overlapping-glyphs" for the xcb backend. Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-xlib-screen.c')
-rw-r--r--src/cairo-xlib-screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-xlib-screen.c b/src/cairo-xlib-screen.c
index 801dc3da7..a0c3df840 100644
--- a/src/cairo-xlib-screen.c
+++ b/src/cairo-xlib-screen.c
@@ -447,6 +447,7 @@ _cairo_xlib_screen_get_font_options (cairo_xlib_screen_t *info)
{
if (! info->has_font_options) {
_cairo_font_options_init_default (&info->font_options);
+ _cairo_font_options_set_round_glyph_positions (&info->font_options, CAIRO_ROUND_GLYPH_POS_ON);
if (info->screen != NULL) {
cairo_xlib_display_t *display;