[pango/harfbuzz-ng-external] Fix hb font scale
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango/harfbuzz-ng-external] Fix hb font scale
- Date: Sun, 20 Dec 2009 19:59:05 +0000 (UTC)
commit a9c4a74c5806ce8c188fa91aa5a4a837539acda6
Author: Behdad Esfahbod <behdad behdad org>
Date: Sun Dec 20 20:58:50 2009 +0100
Fix hb font scale
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 f68a91d..2888944 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]