}
static void
-setup_lookups (hb_font_t *font,
- hb_face_t *face,
+setup_lookups (hb_face_t *face,
hb_buffer_t *buffer,
hb_feature_t *features,
unsigned int num_features,
hb_bool_t
-_hb_ot_substitute_complex (hb_font_t *font,
+_hb_ot_substitute_complex (hb_font_t *font HB_GNUC_UNUSED,
hb_face_t *face,
hb_buffer_t *buffer,
hb_feature_t *features,
if (!hb_ot_layout_has_substitution (face))
return FALSE;
- setup_lookups (font, face, buffer, features, num_features,
+ setup_lookups (face, buffer, features, num_features,
HB_OT_TAG_GSUB,
lookups, &num_lookups);
if (!hb_ot_layout_has_positioning (face))
return FALSE;
- setup_lookups (font, face, buffer, features, num_features,
+ setup_lookups (face, buffer, features, num_features,
HB_OT_TAG_GPOS,
lookups, &num_lookups);
hb_substitute_default (hb_font_t *font,
hb_face_t *face,
hb_buffer_t *buffer,
- hb_feature_t *features,
- unsigned int num_features)
+ hb_feature_t *features HB_GNUC_UNUSED,
+ unsigned int num_features HB_GNUC_UNUSED)
{
hb_mirror_chars (buffer);
hb_map_glyphs (font, face, buffer);
}
static void
-hb_substitute_fallback (hb_font_t *font,
- hb_face_t *face,
- hb_buffer_t *buffer,
- hb_feature_t *features,
- unsigned int num_features)
+hb_substitute_fallback (hb_font_t *font HB_GNUC_UNUSED,
+ hb_face_t *face HB_GNUC_UNUSED,
+ hb_buffer_t *buffer HB_GNUC_UNUSED,
+ hb_feature_t *features HB_GNUC_UNUSED,
+ unsigned int num_features HB_GNUC_UNUSED)
{
/* TODO Arabic */
}
hb_position_default (hb_font_t *font,
hb_face_t *face,
hb_buffer_t *buffer,
- hb_feature_t *features,
- unsigned int num_features)
+ hb_feature_t *features HB_GNUC_UNUSED,
+ unsigned int num_features HB_GNUC_UNUSED)
{
unsigned int count;
}
static void
-hb_position_fallback (hb_font_t *font,
- hb_face_t *face,
- hb_buffer_t *buffer,
- hb_feature_t *features,
- unsigned int num_features)
+hb_position_fallback (hb_font_t *font HB_GNUC_UNUSED,
+ hb_face_t *face HB_GNUC_UNUSED,
+ hb_buffer_t *buffer HB_GNUC_UNUSED,
+ hb_feature_t *features HB_GNUC_UNUSED,
+ unsigned int num_features HB_GNUC_UNUSED)
{
/* TODO Mark pos */
}
hb_truetype_kern (hb_font_t *font,
hb_face_t *face,
hb_buffer_t *buffer,
- hb_feature_t *features,
- unsigned int num_features)
+ hb_feature_t *features HB_GNUC_UNUSED,
+ unsigned int num_features HB_GNUC_UNUSED)
{
unsigned int count;