Simple renames
This commit is contained in:
parent
02f28550d7
commit
9722b8f005
|
@ -318,7 +318,7 @@ hb_substitute_default (hb_font_t *font,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
hb_substitute_fallback (hb_font_t *font HB_UNUSED,
|
hb_substitute_complex_fallback (hb_font_t *font HB_UNUSED,
|
||||||
hb_face_t *face HB_UNUSED,
|
hb_face_t *face HB_UNUSED,
|
||||||
hb_buffer_t *buffer HB_UNUSED,
|
hb_buffer_t *buffer HB_UNUSED,
|
||||||
hb_feature_t *features HB_UNUSED,
|
hb_feature_t *features HB_UNUSED,
|
||||||
|
@ -349,7 +349,7 @@ hb_position_default (hb_font_t *font,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
hb_position_fallback (hb_font_t *font HB_UNUSED,
|
hb_position_complex_fallback (hb_font_t *font HB_UNUSED,
|
||||||
hb_face_t *face HB_UNUSED,
|
hb_face_t *face HB_UNUSED,
|
||||||
hb_buffer_t *buffer HB_UNUSED,
|
hb_buffer_t *buffer HB_UNUSED,
|
||||||
hb_feature_t *features HB_UNUSED,
|
hb_feature_t *features HB_UNUSED,
|
||||||
|
@ -379,7 +379,7 @@ hb_truetype_kern (hb_font_t *font,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
hb_position_fallback_visual (hb_font_t *font,
|
hb_position_complex_fallback_visual (hb_font_t *font,
|
||||||
hb_face_t *face,
|
hb_face_t *face,
|
||||||
hb_buffer_t *buffer,
|
hb_buffer_t *buffer,
|
||||||
hb_feature_t *features,
|
hb_feature_t *features,
|
||||||
|
@ -412,20 +412,20 @@ hb_ot_shape (hb_font_t *font,
|
||||||
substitute_fallback = !hb_ot_substitute_complex (font, face, buffer, features, num_features);
|
substitute_fallback = !hb_ot_substitute_complex (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
if (substitute_fallback)
|
if (substitute_fallback)
|
||||||
hb_substitute_fallback (font, face, buffer, features, num_features);
|
hb_substitute_complex_fallback (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
hb_position_default (font, face, buffer, features, num_features);
|
hb_position_default (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
position_fallback = !hb_ot_position_complex (font, face, buffer, features, num_features);
|
position_fallback = !hb_ot_position_complex (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
if (position_fallback)
|
if (position_fallback)
|
||||||
hb_position_fallback (font, face, buffer, features, num_features);
|
hb_position_complex_fallback (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
if (HB_DIRECTION_IS_BACKWARD (buffer->direction))
|
if (HB_DIRECTION_IS_BACKWARD (buffer->direction))
|
||||||
hb_buffer_reverse (buffer);
|
hb_buffer_reverse (buffer);
|
||||||
|
|
||||||
if (position_fallback)
|
if (position_fallback)
|
||||||
hb_position_fallback_visual (font, face, buffer, features, num_features);
|
hb_position_complex_fallback_visual (font, face, buffer, features, num_features);
|
||||||
|
|
||||||
buffer->direction = original_direction;
|
buffer->direction = original_direction;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue