diff options
Diffstat (limited to 'font-viewer/font-thumbnailer.c')
-rw-r--r-- | font-viewer/font-thumbnailer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font-viewer/font-thumbnailer.c b/font-viewer/font-thumbnailer.c index e2a2d3be..9e9d344c 100644 --- a/font-viewer/font-thumbnailer.c +++ b/font-viewer/font-thumbnailer.c @@ -289,7 +289,7 @@ main (int argc, scale = MIN (scale_x, scale_y); cairo_scale (cr, scale, scale); - cairo_translate (cr, + cairo_translate (cr, PADDING_HORIZONTAL - text_extents.x_bearing + (thumb_size - scale * text_extents.width) / 2.0, PADDING_VERTICAL - text_extents.y_bearing + (thumb_size - scale * text_extents.height) / 2.0); |