diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-04-21 15:17:03 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-21 15:17:03 -0400 |
commit | c592e19bb9235b6bd51293bfd25b8d40d1ae3aa7 (patch) | |
tree | c7213f95f46b2f5032fbbfc4a00809ea0aa44325 /pango/pango-ot-info.c | |
parent | bf99026f8dbe054e9c59bf5a891b76b71ea912b7 (diff) | |
download | pango-c592e19bb9235b6bd51293bfd25b8d40d1ae3aa7.tar.gz |
[HB] Make y grow down
More intuitive.
Diffstat (limited to 'pango/pango-ot-info.c')
-rw-r--r-- | pango/pango-ot-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index 79c3cb2b..5ad5842c 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -394,8 +394,8 @@ _pango_ot_info_position (const PangoOTInfo *info, /* XXX reuse hb_font */ hb_font = hb_font_create (); hb_font_set_scale (hb_font, - ((guint64) info->face->size->metrics.x_scale * info->face->units_per_EM) >> 12, - ((guint64) info->face->size->metrics.y_scale * info->face->units_per_EM) >> 12); + (((guint64) info->face->size->metrics.x_scale * info->face->units_per_EM) >> 12), + -(((guint64) info->face->size->metrics.y_scale * info->face->units_per_EM) >> 12)); is_hinted = buffer->font->is_hinted; hb_font_set_ppem (hb_font, is_hinted ? info->face->size->metrics.x_ppem : 0, |