Remove intermittent_glyph()
Lets not worry about performance for now...
This commit is contained in:
parent
d63adfc7d0
commit
192445aef2
|
@ -32,8 +32,9 @@ static bool
|
||||||
get_glyph (hb_ot_shape_context_t *c, unsigned int i)
|
get_glyph (hb_ot_shape_context_t *c, unsigned int i)
|
||||||
{
|
{
|
||||||
hb_buffer_t *b = c->buffer;
|
hb_buffer_t *b = c->buffer;
|
||||||
|
hb_codepoint_t glyph;
|
||||||
|
|
||||||
return hb_font_get_glyph (c->font, b->info[i].codepoint, 0, &b->info[i].intermittent_glyph());
|
return hb_font_get_glyph (c->font, b->info[i].codepoint, 0, &glyph);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
|
@ -102,8 +102,6 @@ is_variation_selector (hb_codepoint_t unicode)
|
||||||
|
|
||||||
HB_INTERNAL bool _hb_normalize (hb_ot_shape_context_t *c);
|
HB_INTERNAL bool _hb_normalize (hb_ot_shape_context_t *c);
|
||||||
|
|
||||||
#define intermittent_glyph() var2.u32
|
|
||||||
|
|
||||||
HB_END_DECLS
|
HB_END_DECLS
|
||||||
|
|
||||||
#endif /* HB_OT_SHAPE_PRIVATE_HH */
|
#endif /* HB_OT_SHAPE_PRIVATE_HH */
|
||||||
|
|
Loading…
Reference in New Issue