Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/hb/aat/layout_kerx_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ struct Driver1 {
}

impl StateTableDriver<Subtable1<'_>, BigEndian<u16>> for Driver1 {
#[inline(always)]
fn transition(
&mut self,
aat: &Subtable1,
Expand Down Expand Up @@ -583,6 +584,7 @@ struct Driver4<'a> {
}

impl StateTableDriver<Subtable4<'_>, BigEndian<u16>> for Driver4<'_> {
#[inline(always)]
fn transition(
&mut self,
aat: &Subtable4,
Expand Down
4 changes: 4 additions & 0 deletions src/hb/aat/layout_morx_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ impl DriverContext<NoPayload> for RearrangementCtx {
entry.flags & Self::VERB != 0
}

#[inline(always)]
fn transition(&mut self, entry: &StateEntry, ac: &mut AatApplyContext) -> Option<()> {
let buffer = &mut ac.buffer;
let flags = entry.flags;
Expand Down Expand Up @@ -594,6 +595,7 @@ impl DriverContext<ContextualEntryData> for ContextualCtx<'_> {
entry.payload.mark_index.get() != 0xFFFF || entry.payload.current_index.get() != 0xFFFF
}

#[inline(always)]
fn transition(
&mut self,
entry: &StateEntry<ContextualEntryData>,
Expand Down Expand Up @@ -685,6 +687,7 @@ impl DriverContext<InsertionEntryData> for InsertionCtx<'_> {
|| entry.payload.marked_insert_index.get() != 0xFFFF)
}

#[inline(always)]
fn transition(
&mut self,
entry: &StateEntry<InsertionEntryData>,
Expand Down Expand Up @@ -823,6 +826,7 @@ impl DriverContext<BigEndian<u16>> for LigatureCtx<'_> {
entry.flags & Self::PERFORM_ACTION != 0
}

#[inline(always)]
fn transition(
&mut self,
entry: &StateEntry<BigEndian<u16>>,
Expand Down