Change order of font and face for API consistency
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 0c2f602..5e51800 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc
@@ -96,7 +96,7 @@ /* TODO the public class_t is a mess */ hb_bool_t -hb_ot_layout_has_font_glyph_classes (hb_face_t *face) +hb_ot_layout_has_glyph_classes (hb_face_t *face) { return _get_gdef (face).has_glyph_classes (); } @@ -312,8 +312,8 @@ } unsigned int -hb_ot_layout_get_lig_carets (hb_face_t *face, - hb_font_t *font, +hb_ot_layout_get_lig_carets (hb_font_t *font, + hb_face_t *face, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *caret_count /* IN/OUT */, @@ -553,8 +553,8 @@ } hb_bool_t -hb_ot_layout_position_lookup (hb_face_t *face, - hb_font_t *font, +hb_ot_layout_position_lookup (hb_font_t *font, + hb_face_t *face, hb_buffer_t *buffer, unsigned int lookup_index, hb_mask_t mask) @@ -566,8 +566,8 @@ } void -hb_ot_layout_position_finish (hb_face_t *face, - hb_font_t *font, +hb_ot_layout_position_finish (hb_font_t *font, + hb_face_t *face, hb_buffer_t *buffer) { unsigned int i, j;