diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-08-01 19:03:46 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-08-01 19:03:46 -0400 |
commit | 8fbfda920e0b3bb4ab7afb732826026964b79be9 (patch) | |
tree | 4dd21230b5e9b86dc547f37d7f85724cf6493d98 /src/hb-ot-shape-complex-arabic.cc | |
parent | 6adf417bc15d4524e280b284e3accd1ae647662e (diff) |
Inline font getters
Diffstat (limited to 'src/hb-ot-shape-complex-arabic.cc')
-rw-r--r-- | src/hb-ot-shape-complex-arabic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-ot-shape-complex-arabic.cc b/src/hb-ot-shape-complex-arabic.cc index 39b25c38..4ce09a84 100644 --- a/src/hb-ot-shape-complex-arabic.cc +++ b/src/hb-ot-shape-complex-arabic.cc @@ -211,7 +211,7 @@ arabic_fallback_shape (hb_font_t *font, hb_buffer_t *buffer) for (unsigned int i = 0; i < count; i++) { hb_codepoint_t u = buffer->info[i].codepoint; hb_codepoint_t shaped = get_arabic_shape (u, buffer->info[i].arabic_shaping_action()); - if (shaped != u && hb_font_get_glyph (font, shaped, 0, &glyph)) + if (shaped != u && font->get_glyph (shaped, 0, &glyph)) buffer->info[i].codepoint = shaped; } @@ -220,7 +220,7 @@ arabic_fallback_shape (hb_font_t *font, hb_buffer_t *buffer) for (buffer->idx = 0; buffer->idx + 1 < count;) { hb_codepoint_t ligature = get_ligature (buffer->cur().codepoint, buffer->cur(+1).codepoint); - if (likely (!ligature) || !(hb_font_get_glyph (font, ligature, 0, &glyph))) { + if (likely (!ligature) || !(font->get_glyph (ligature, 0, &glyph))) { buffer->next_glyph (); continue; } |