summaryrefslogtreecommitdiff
path: root/src/hb-ot-shape-complex-arabic.cc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-08-01 19:03:46 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-08-01 19:03:46 -0400
commit8fbfda920e0b3bb4ab7afb732826026964b79be9 (patch)
tree4dd21230b5e9b86dc547f37d7f85724cf6493d98 /src/hb-ot-shape-complex-arabic.cc
parent6adf417bc15d4524e280b284e3accd1ae647662e (diff)
Inline font getters
Diffstat (limited to 'src/hb-ot-shape-complex-arabic.cc')
-rw-r--r--src/hb-ot-shape-complex-arabic.cc4
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;
}