summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorRichard Hult <richard@imendio.com>2007-05-20 21:13:09 +0000
committerRichard Hult <rhult@src.gnome.org>2007-05-20 21:13:09 +0000
commitbd30ee7a7a43ee687bf1881e2f4d9f3461954b7d (patch)
tree507b4ea39e027e3bf9097051742829b2bcf3788e /pango
parenta66c0dafbe6b8bfd94a6431727350b78a56d813f (diff)
downloadpango-bd30ee7a7a43ee687bf1881e2f4d9f3461954b7d.tar.gz
Improve the fix for bug #433805 so that the metrics actually are right,
2007-05-20 Richard Hult <richard@imendio.com> * pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Improve the fix for bug #433805 so that the metrics actually are right, thanks to Mitch for noticing and debugging help. svn path=/trunk/; revision=2314
Diffstat (limited to 'pango')
-rw-r--r--pango/pangocairo-atsuifont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-atsuifont.c b/pango/pangocairo-atsuifont.c
index 0d830783..a5501439 100644
--- a/pango/pangocairo-atsuifont.c
+++ b/pango/pangocairo-atsuifont.c
@@ -460,7 +460,7 @@ _pango_cairo_atsui_font_new (PangoCairoATSUIFontMap *cafontmap,
else
dpi = cafontmap->dpi;
- cafont->absolute_size = cafont->size;
+ cafont->absolute_size = pango_font_description_get_size (desc);
if (!pango_font_description_get_size_is_absolute (desc))
cafont->size *= dpi / 72.;