Remove remaining mention to complex shapers in the code

https://github.com/harfbuzz/harfbuzz/pull/3628#issuecomment-1146248037
This commit is contained in:
Behdad Esfahbod 2022-06-04 05:42:58 -06:00
parent b39b5f2f31
commit cc7ebb0ffa
3 changed files with 7 additions and 6 deletions

View File

@ -69,7 +69,7 @@
* - When a font does not support a character but supports its canonical * - When a font does not support a character but supports its canonical
* decomposition, well, use the decomposition. * decomposition, well, use the decomposition.
* *
* - The complex shapers can customize the compose and decompose functions to * - The shapers can customize the compose and decompose functions to
* offload some of their requirements to the normalizer. For example, the * offload some of their requirements to the normalizer. For example, the
* Indic shaper may want to disallow recomposing of two matras. * Indic shaper may want to disallow recomposing of two matras.
*/ */

View File

@ -927,7 +927,7 @@ hb_ot_substitute_default (const hb_ot_shape_context_t *c)
} }
static inline void static inline void
hb_ot_substitute_complex (const hb_ot_shape_context_t *c) hb_ot_substitute_plan (const hb_ot_shape_context_t *c)
{ {
hb_buffer_t *buffer = c->buffer; hb_buffer_t *buffer = c->buffer;
@ -946,7 +946,7 @@ hb_ot_substitute_pre (const hb_ot_shape_context_t *c)
_hb_buffer_allocate_gsubgpos_vars (c->buffer); _hb_buffer_allocate_gsubgpos_vars (c->buffer);
hb_ot_substitute_complex (c); hb_ot_substitute_plan (c);
#ifndef HB_NO_AAT_SHAPE #ifndef HB_NO_AAT_SHAPE
if (c->plan->apply_morx && c->plan->apply_gpos) if (c->plan->apply_morx && c->plan->apply_gpos)
@ -1039,7 +1039,7 @@ hb_ot_position_default (const hb_ot_shape_context_t *c)
} }
static inline void static inline void
hb_ot_position_complex (const hb_ot_shape_context_t *c) hb_ot_position_plan (const hb_ot_shape_context_t *c)
{ {
unsigned int count = c->buffer->len; unsigned int count = c->buffer->len;
hb_glyph_info_t *info = c->buffer->info; hb_glyph_info_t *info = c->buffer->info;
@ -1124,7 +1124,7 @@ hb_ot_position (const hb_ot_shape_context_t *c)
hb_ot_position_default (c); hb_ot_position_default (c);
hb_ot_position_complex (c); hb_ot_position_plan (c);
if (HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction)) if (HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction))
hb_buffer_reverse (c->buffer); hb_buffer_reverse (c->buffer);

View File

@ -152,7 +152,8 @@ hb_subset_input_create_or_fail (void)
HB_TAG ('B', 'u', 'z', 'z'), HB_TAG ('B', 'u', 'z', 'z'),
HB_TAG ('B', 'U', 'Z', 'Z'), HB_TAG ('B', 'U', 'Z', 'Z'),
//Complex shapers //shapers
//arabic //arabic
HB_TAG ('i', 'n', 'i', 't'), HB_TAG ('i', 'n', 'i', 't'),
HB_TAG ('m', 'e', 'd', 'i'), HB_TAG ('m', 'e', 'd', 'i'),