summaryrefslogtreecommitdiff
path: root/pango/pangofc-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-11-06 16:30:46 -0500
committerBehdad Esfahbod <behdad@behdad.org>2009-11-06 16:47:22 -0500
commit7455ff248507bfe3b26b5739de7a3ee54c50698d (patch)
tree5363349a496e29d21d2cde123c428e4decc9f359 /pango/pangofc-private.h
parenta7b753f0084913f64c67c7b7764da56dc6d67d8a (diff)
downloadpango-7455ff248507bfe3b26b5739de7a3ee54c50698d.tar.gz
Use hb_ot_layout_position_finish()
Diffstat (limited to 'pango/pangofc-private.h')
-rw-r--r--pango/pangofc-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pangofc-private.h b/pango/pangofc-private.h
index 0612a692..b5fab578 100644
--- a/pango/pangofc-private.h
+++ b/pango/pangofc-private.h
@@ -61,7 +61,8 @@ struct _PangoFcCmapCache
(((d) >= 0) ? \
((d) + PANGO_SCALE_26_6 / 2) / PANGO_SCALE_26_6 : \
((d) - PANGO_SCALE_26_6 / 2) / PANGO_SCALE_26_6)
-#define PANGO_UNITS_26_6(d) (PANGO_SCALE_26_6 * (d))
+#define PANGO_UNITS_26_6(d) ((d) * PANGO_SCALE_26_6)
+#define PANGO_UNITS_TO_26_6(d) ((d) / PANGO_SCALE_26_6)
void _pango_fc_font_shutdown (PangoFcFont *fcfont);