diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2010-12-28 03:17:55 -0600 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2010-12-28 03:17:55 -0600 |
commit | 34448ab65f41dfb0c098a3e0d112b084ef84f8d8 (patch) | |
tree | 3a267f97b686a1067744a44bebc6d8913996c594 /pango/pangocairo-font.c | |
parent | 4da05d60a8c9e7f22329c58264e0ca6c683dbf0c (diff) | |
download | pango-34448ab65f41dfb0c098a3e0d112b084ef84f8d8.tar.gz |
Bug 636348 - Hex boxes are incorrectly scaled with non identity cairo scale
Diffstat (limited to 'pango/pangocairo-font.c')
-rw-r--r-- | pango/pangocairo-font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c index 1f6382b8..df0a7777 100644 --- a/pango/pangocairo-font.c +++ b/pango/pangocairo-font.c @@ -433,6 +433,8 @@ _pango_cairo_font_private_get_hex_box_info (PangoCairoFontPrivate *cf_priv) pango_ctm.x0 = cairo_ctm.x0; pango_ctm.y0 = cairo_ctm.y0; + size /= pango_matrix_get_font_scale_factor (&pango_ctm); + if (is_hinted) { /* prepare for some hinting */ |