[OTLayout] Minor
This commit is contained in:
parent
0dff11f6bf
commit
3038ae6adb
@ -1521,10 +1521,6 @@ struct GPOS : GSUBGPOS
|
||||
inline const PosLookup& get_lookup (unsigned int i) const
|
||||
{ return CastR<PosLookup> (GSUBGPOS::get_lookup (i)); }
|
||||
|
||||
template <typename set_t>
|
||||
inline void add_coverage (set_t *glyphs, unsigned int lookup_index) const
|
||||
{ get_lookup (lookup_index).add_coverage (glyphs); }
|
||||
|
||||
static inline void position_start (hb_font_t *font, hb_buffer_t *buffer);
|
||||
static inline void position_finish (hb_font_t *font, hb_buffer_t *buffer, hb_bool_t zero_width_attahced_marks);
|
||||
|
||||
|
@ -1341,10 +1341,6 @@ struct GSUB : GSUBGPOS
|
||||
inline const SubstLookup& get_lookup (unsigned int i) const
|
||||
{ return CastR<SubstLookup> (GSUBGPOS::get_lookup (i)); }
|
||||
|
||||
template <typename set_t>
|
||||
inline void add_coverage (set_t *glyphs, unsigned int lookup_index) const
|
||||
{ get_lookup (lookup_index).add_coverage (glyphs); }
|
||||
|
||||
static inline void substitute_start (hb_font_t *font, hb_buffer_t *buffer);
|
||||
static inline void substitute_finish (hb_font_t *font, hb_buffer_t *buffer);
|
||||
|
||||
|
@ -71,9 +71,9 @@ _hb_ot_layout_create (hb_face_t *face)
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < layout->gsub_lookup_count; i++)
|
||||
layout->gsub->add_coverage (&layout->gsub_digests[i], i);
|
||||
layout->gsub->get_lookup (i).add_coverage (&layout->gsub_digests[i]);
|
||||
for (unsigned int i = 0; i < layout->gpos_lookup_count; i++)
|
||||
layout->gpos->add_coverage (&layout->gpos_digests[i], i);
|
||||
layout->gpos->get_lookup (i).add_coverage (&layout->gpos_digests[i]);
|
||||
|
||||
return layout;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user