[glyf] minor
This commit is contained in:
parent
4299ea266e
commit
546ffc9faf
|
@ -265,6 +265,7 @@ struct glyf
|
|||
return size;
|
||||
}
|
||||
|
||||
bool is_use_my_metrics () const { return flags & USE_MY_METRICS; }
|
||||
bool is_anchored () const { return (flags & ARGS_ARE_XY_VALUES) == 0; }
|
||||
void get_anchor_points (unsigned int &point1, unsigned int &point2) const
|
||||
{
|
||||
|
@ -845,7 +846,7 @@ struct glyf
|
|||
return false;
|
||||
|
||||
/* Copy phantom points from component if USE_MY_METRICS flag set */
|
||||
if (item.flags & CompositeGlyphHeader::USE_MY_METRICS)
|
||||
if (item.is_use_my_metrics ())
|
||||
for (unsigned int i = 0; i < PHANTOM_COUNT; i++)
|
||||
phantoms[i] = comp_points[comp_points.length - PHANTOM_COUNT + i];
|
||||
|
||||
|
|
Loading…
Reference in New Issue