summaryrefslogtreecommitdiff
path: root/pango/pangofc-shape.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-05-09 01:32:53 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-05-09 01:32:53 +0000
commit7570667d08c7bb968316a8a40c6e65cee9c4b35b (patch)
tree582ae0983ef4fb5857e652c4d4ef36d1b210709d /pango/pangofc-shape.c
parent99f4661a4f19802ba122fae09668a0b0e1cb7ca0 (diff)
parent00e222ab045f0956c16621aaadab4c76248f9bdb (diff)
downloadpango-7570667d08c7bb968316a8a40c6e65cee9c4b35b.tar.gz
Merge branch 'pango-1-46' into 'pango-1-46'pango-1-46
[1.46] Cherry pick various upstream fixes See merge request GNOME/pango!322
Diffstat (limited to 'pango/pangofc-shape.c')
-rw-r--r--pango/pangofc-shape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index b6f74ca1..5c716b24 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -409,8 +409,8 @@ pango_hb_shape (PangoFont *font,
for (i = 0; i < num_glyphs; i++)
{
/* 90 degrees rotation counter-clockwise. */
- infos[i].geometry.width = hb_position->y_advance;
- infos[i].geometry.x_offset = hb_position->y_offset;
+ infos[i].geometry.width = - hb_position->y_advance;
+ infos[i].geometry.x_offset = - hb_position->y_offset;
infos[i].geometry.y_offset = - hb_position->x_offset;
hb_position++;
}