diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-11-06 16:30:46 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-11-06 16:47:22 -0500 |
commit | 7455ff248507bfe3b26b5739de7a3ee54c50698d (patch) | |
tree | 5363349a496e29d21d2cde123c428e4decc9f359 /pango/pangofc-private.h | |
parent | a7b753f0084913f64c67c7b7764da56dc6d67d8a (diff) | |
download | pango-7455ff248507bfe3b26b5739de7a3ee54c50698d.tar.gz |
Use hb_ot_layout_position_finish()
Diffstat (limited to 'pango/pangofc-private.h')
-rw-r--r-- | pango/pangofc-private.h | 3 |
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); |