[subset] add constant to get_composite and in_table methods in hb-ot-glyf-table
This commit is contained in:
parent
73e1434814
commit
58a54c9d4f
|
@ -179,7 +179,7 @@ struct glyf
|
||||||
|
|
||||||
inline bool in_glyph (const CompositeGlyphHeader *header,
|
inline bool in_glyph (const CompositeGlyphHeader *header,
|
||||||
unsigned int start_offset,
|
unsigned int start_offset,
|
||||||
unsigned int end_offset)
|
unsigned int end_offset) const
|
||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
@ -196,7 +196,7 @@ struct glyf
|
||||||
* If true is returned a pointer to the composite glyph will be written into
|
* If true is returned a pointer to the composite glyph will be written into
|
||||||
* composite.
|
* 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;
|
unsigned int start_offset, end_offset;
|
||||||
if (!get_offsets (glyph, &start_offset, &end_offset))
|
if (!get_offsets (glyph, &start_offset, &end_offset))
|
||||||
|
|
Loading…
Reference in New Issue