summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-05-25 04:04:24 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-05-25 04:25:15 -0400
commit7b3f038ada310ac1f113d898a637df188177f8bb (patch)
tree75bbbf4fcdcc4a442babd5411679ca7997ed8566 /pango/pango-ot-buffer.c
parent76d05e87fb34a3f6cc5d914e91f755e964c690dc (diff)
downloadpango-7b3f038ada310ac1f113d898a637df188177f8bb.tar.gz
[HB] More buffer cleanup
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index 10c455ee..49a1e1df 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -222,9 +222,9 @@ swap_range (PangoGlyphString *glyphs, int start, int end)
}
static void
-apply_gpos_ltr (PangoGlyphString *glyphs,
- HB_Position positions,
- gboolean is_hinted)
+apply_gpos_ltr (PangoGlyphString *glyphs,
+ hb_glyph_position_t *positions,
+ gboolean is_hinted)
{
int i;
@@ -264,9 +264,9 @@ apply_gpos_ltr (PangoGlyphString *glyphs,
}
static void
-apply_gpos_rtl (PangoGlyphString *glyphs,
- HB_Position positions,
- gboolean is_hinted)
+apply_gpos_rtl (PangoGlyphString *glyphs,
+ hb_glyph_position_t *positions,
+ gboolean is_hinted)
{
int i;
@@ -338,11 +338,11 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer,
last_cluster = -1;
for (i = 0; i < buffer->buffer->in_length; i++)
{
- HB_GlyphItem item = &buffer->buffer->in_string[i];
+ hb_glyph_info_t *ginfo = &buffer->buffer->in_string[i];
- glyphs->glyphs[i].glyph = item->gindex;
+ glyphs->glyphs[i].glyph = ginfo->gindex;
- glyphs->log_clusters[i] = item->cluster;
+ glyphs->log_clusters[i] = ginfo->cluster;
if (glyphs->log_clusters[i] != last_cluster)
glyphs->glyphs[i].attr.is_cluster_start = 1;
else