mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 13:35:06 +00:00
[aat] Minor
This commit is contained in:
parent
71b1ba7aa6
commit
9ea29789d7
2 changed files with 5 additions and 5 deletions
|
@ -1009,7 +1009,7 @@ struct StateTableDriver
|
|||
|
||||
/* 2c'. */
|
||||
if (c->is_actionable (buffer, this, wouldbe_entry))
|
||||
return false;
|
||||
return false;
|
||||
|
||||
/* 2c". */
|
||||
return next_state == machine.new_state(wouldbe_entry.newState)
|
||||
|
|
|
@ -76,7 +76,7 @@ struct RearrangementSubtable
|
|||
|
||||
bool is_actionable (hb_buffer_t *buffer HB_UNUSED,
|
||||
StateTableDriver<Types, EntryData> *driver HB_UNUSED,
|
||||
const Entry<EntryData> &entry)
|
||||
const Entry<EntryData> &entry) const
|
||||
{
|
||||
return (entry.flags & Verb) && start < end;
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ struct ContextualSubtable
|
|||
|
||||
bool is_actionable (hb_buffer_t *buffer,
|
||||
StateTableDriver<Types, EntryData> *driver,
|
||||
const Entry<EntryData> &entry)
|
||||
const Entry<EntryData> &entry) const
|
||||
{
|
||||
if (buffer->idx == buffer->len && !mark_set)
|
||||
return false;
|
||||
|
@ -466,7 +466,7 @@ struct LigatureSubtable
|
|||
|
||||
bool is_actionable (hb_buffer_t *buffer HB_UNUSED,
|
||||
StateTableDriver<Types, EntryData> *driver HB_UNUSED,
|
||||
const Entry<EntryData> &entry)
|
||||
const Entry<EntryData> &entry) const
|
||||
{
|
||||
return LigatureEntryT::performAction (entry);
|
||||
}
|
||||
|
@ -757,7 +757,7 @@ struct InsertionSubtable
|
|||
|
||||
bool is_actionable (hb_buffer_t *buffer HB_UNUSED,
|
||||
StateTableDriver<Types, EntryData> *driver HB_UNUSED,
|
||||
const Entry<EntryData> &entry)
|
||||
const Entry<EntryData> &entry) const
|
||||
{
|
||||
return (entry.flags & (CurrentInsertCount | MarkedInsertCount)) &&
|
||||
(entry.data.currentInsertIndex != 0xFFFF ||entry.data.markedInsertIndex != 0xFFFF);
|
||||
|
|
Loading…
Add table
Reference in a new issue