diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-08-02 17:41:36 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-08-02 19:38:48 -0400 |
commit | 6624880f1dc2d14187c4548f7bbddd78f3dbf64d (patch) | |
tree | db48818a205c7b5aa21c85797f2edc01d0c75078 /pango/pango-ot-buffer.c | |
parent | 5bb23c0024827fb180e17c9b8dde13e872eed464 (diff) | |
download | pango-6624880f1dc2d14187c4548f7bbddd78f3dbf64d.tar.gz |
[HB] Port ot-layout to new public API
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r-- | pango/pango-ot-buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c index f42dc3e8..a4aacc3a 100644 --- a/pango/pango-ot-buffer.c +++ b/pango/pango-ot-buffer.c @@ -327,7 +327,7 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer, PangoGlyphString *glyphs) { FT_Face face; - hb_ot_layout_t *layout; + hb_face_t *hb_face; unsigned int i; int last_cluster; @@ -359,7 +359,7 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer, last_cluster = glyphs->log_clusters[i]; } - layout = _pango_ot_info_get_layout (pango_ot_info_get (face)); + hb_face = _pango_ot_info_get_hb_face (pango_ot_info_get (face)); /* Apply default positioning */ for (i = 0; i < (unsigned int)glyphs->num_glyphs; i++) @@ -369,7 +369,7 @@ pango_ot_buffer_output (const PangoOTBuffer *buffer, PangoRectangle logical_rect; if (buffer->zero_width_marks && - hb_ot_layout_get_glyph_class (layout, glyphs->glyphs[i].glyph) == HB_OT_LAYOUT_GLYPH_CLASS_MARK) + hb_ot_layout_get_glyph_class (hb_face, glyphs->glyphs[i].glyph) == HB_OT_LAYOUT_GLYPH_CLASS_MARK) { glyphs->glyphs[i].geometry.width = 0; } |