[kerx] Comment
This commit is contained in:
parent
362d324119
commit
0537a40193
|
@ -317,7 +317,7 @@ struct kerx
|
||||||
goto skip;
|
goto skip;
|
||||||
|
|
||||||
if (table->coverage & KerxTable::CrossStream)
|
if (table->coverage & KerxTable::CrossStream)
|
||||||
goto skip; /* We do NOT handle cross-stream kerning. */
|
goto skip; /* We do NOT handle cross-stream kerning. None of Apple fonts use it. */
|
||||||
|
|
||||||
reverse = bool (table->coverage & KerxTable::Backwards) !=
|
reverse = bool (table->coverage & KerxTable::Backwards) !=
|
||||||
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
HB_DIRECTION_IS_BACKWARD (c->buffer->props.direction);
|
||||||
|
|
|
@ -463,6 +463,7 @@ struct kern
|
||||||
hb_buffer_t *buffer,
|
hb_buffer_t *buffer,
|
||||||
hb_mask_t kern_mask) const
|
hb_mask_t kern_mask) const
|
||||||
{
|
{
|
||||||
|
/* We only apply horizontal kerning in this table. */
|
||||||
if (!HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction))
|
if (!HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue