changed CAIRO_ANTIALIAS_BEST to CAIRO_ANTIALIAS_SUBPIXEL

This commit is contained in:
louis 2015-03-12 22:40:22 +01:00
parent 44680b6ce8
commit b84af82ef5

View File

@ -18,7 +18,7 @@ void cCairoImage::InitCairoImage(int width, int height) {
surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height); surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height);
cr = cairo_create(surface); 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) { void cCairoImage::DrawTextVertical(string text, tColor color, string font, int size) {