commit | c3a5b6dc837031d429408a33124a027bf75604d7 | [log] [tgz] |
---|---|---|
author | Stephen M. Cameron <stephenmcameron@gmail.com> | Wed Mar 28 11:02:52 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 28 11:02:52 2012 +0200 |
tree | 2935c02283e08f590dc6999a15ad169e5eba03ea | |
parent | 28db256b569af54e1bb162fc0b5d5b5d9526be98 [diff] |
cairo_text_helpers: fix left justified text Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/cairo_text_helpers.c b/cairo_text_helpers.c index 4ab3ac9..19fb8e0 100644 --- a/cairo_text_helpers.c +++ b/cairo_text_helpers.c
@@ -24,7 +24,7 @@ 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);