From b84af82ef5253df5c4c90e305951ba127ac02374 Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 12 Mar 2015 22:40:22 +0100 Subject: [PATCH] changed CAIRO_ANTIALIAS_BEST to CAIRO_ANTIALIAS_SUBPIXEL --- libcore/cairoimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcore/cairoimage.c b/libcore/cairoimage.c index a8b56c3..476b5f2 100644 --- a/libcore/cairoimage.c +++ b/libcore/cairoimage.c @@ -18,7 +18,7 @@ void cCairoImage::InitCairoImage(int width, int height) { surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height); cr = cairo_create(surface); - cairo_set_antialias(cr, CAIRO_ANTIALIAS_BEST); + cairo_set_antialias(cr, CAIRO_ANTIALIAS_SUBPIXEL); } void cCairoImage::DrawTextVertical(string text, tColor color, string font, int size) { @@ -89,4 +89,4 @@ void cCairoImage::SetColor(tColor color) { double b = (int)tBlue / (double)255; cairo_set_source_rgba(cr, r, g, b, a); -} \ No newline at end of file +}