projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da05d6
)
Bug 636348 - Hex boxes are incorrectly scaled with non identity cairo scale
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 28 Dec 2010 09:17:55 +0000
(
03:17
-0600)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 28 Dec 2010 09:17:55 +0000
(
03:17
-0600)
pango/pangocairo-font.c
patch
|
blob
|
history
diff --git
a/pango/pangocairo-font.c
b/pango/pangocairo-font.c
index
1f6382b
..
df0a777
100644
(file)
--- 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 */