diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-12-20 20:58:50 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-12-20 20:58:50 +0100 |
commit | a9c4a74c5806ce8c188fa91aa5a4a837539acda6 (patch) | |
tree | 164eb97e3b904d54440a1b953bb819cefcb740b7 | |
parent | 41ba2045835239e32a92a39823f2dc67d7e66108 (diff) | |
download | pango-a9c4a74c5806ce8c188fa91aa5a4a837539acda6.tar.gz |
Fix hb font scale
-rw-r--r-- | modules/basic/basic-fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c index f68a91d0..28889449 100644 --- a/modules/basic/basic-fc.c +++ b/modules/basic/basic-fc.c @@ -249,8 +249,8 @@ basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED, &context); hb_font_set_scale (hb_font, /* XXX CTM */ - ft_face->size->metrics.x_scale, - ft_face->size->metrics.y_scale); + PANGO_UNITS_26_6 (ft_face->size->metrics.x_scale), + PANGO_UNITS_26_6 (ft_face->size->metrics.y_scale)); is_hinted = fc_font->is_hinted; hb_font_set_ppem (hb_font, is_hinted ? ft_face->size->metrics.x_ppem : 0, |