[subset] add constant to get_composite and in_table methods in hb-ot-glyf-table

This commit is contained in:
Garret Rieger 2018-02-16 11:20:38 -07:00 committed by Behdad Esfahbod
parent 73e1434814
commit 58a54c9d4f
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ struct glyf
inline bool in_glyph (const CompositeGlyphHeader *header,
unsigned int start_offset,
unsigned int end_offset)
unsigned int end_offset) const
{
do
{
@ -196,7 +196,7 @@ struct glyf
* If true is returned a pointer to the composite glyph will be written into
* composite.
*/
inline bool get_composite (hb_codepoint_t glyph, const CompositeGlyphHeader ** composite /* OUT */)
inline bool get_composite (hb_codepoint_t glyph, const CompositeGlyphHeader ** composite /* OUT */) const
{
unsigned int start_offset, end_offset;
if (!get_offsets (glyph, &start_offset, &end_offset))