X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=cairo_text_helpers.c;h=19fb8e03c198b38f0c732cf55d2a61f5b76b933a;hp=4ab3ac9769ef479bb7b8339b3a38e6316bb245bf;hb=6a16ece86385259dc522fcf1510a977557a82a07;hpb=3c3ed070502bbfec387ded2c43d5e4559ca24a63 diff --git a/cairo_text_helpers.c b/cairo_text_helpers.c index 4ab3ac97..19fb8e03 100644 --- a/cairo_text_helpers.c +++ b/cairo_text_helpers.c @@ -24,7 +24,7 @@ static void draw_aligned_text(cairo_t *cr, const char *font, double x, double y, case LEFT_JUSTIFIED: default: direction = 1.0; - factor = 1.0; + factor = 0.0; break; } cairo_select_font_face(cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);