summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-05-19 15:54:43 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-05-19 15:54:43 -0400
commitcc66aacf34962b7e874c11da26f2a0c987e69737 (patch)
treed292fbbf52db8466d01c98e100732087b6d5afd4 /pango/pango-ot-buffer.c
parent138f5264b74a31646e289f39c52e6bddcf6a64f7 (diff)
downloadpango-cc66aacf34962b7e874c11da26f2a0c987e69737.tar.gz
Adjust to hb-ng scale cleanup
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index 2d8d6e62..43dbfb4f 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -273,12 +273,12 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer,
glyphs->glyphs[i].attr.is_cluster_start = glyphs->log_clusters[i] != last_cluster;
last_cluster = glyphs->log_clusters[i];
- advance = PANGO_UNITS_26_6(hb_position->x_advance);
+ advance = hb_position->x_advance;
if (is_hinted)
advance = PANGO_UNITS_ROUND (advance);
glyphs->glyphs[i].geometry.width = advance;
- glyphs->glyphs[i].geometry.x_offset = PANGO_UNITS_26_6 (hb_position->x_offset);
- glyphs->glyphs[i].geometry.y_offset = -PANGO_UNITS_26_6 (hb_position->y_offset);
+ glyphs->glyphs[i].geometry.x_offset = hb_position->x_offset;
+ glyphs->glyphs[i].geometry.y_offset = -hb_position->y_offset;
hb_glyph++;
hb_position++;