Skip to content

Commit

Permalink
Rename a field
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed May 23, 2024
1 parent 636ac34 commit 4986678
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentype"
version = "0.37.0"
version = "0.37.1"
edition = "2021"
license = "Apache-2.0/MIT"
authors = [
Expand Down
14 changes: 7 additions & 7 deletions src/tables/glyph_substitution/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,20 @@ table! {
@position
/// A multiple substitution.
pub MultipleSubstitution { // MultipleSubstFormat1
format (u16) = { 1 }, // SubstFormat
coverage_offset (u16), // Coverage
sequence_count (u16), // SequenceCount
format (u16) = { 1 }, // SubstFormat
coverage_offset (u16), // Coverage
record_count (u16), // SequenceCount

sequence_offsets (Vec<u16>) |this, tape, _| { // Sequence
tape.take_given(this.sequence_count as usize)
record_offsets (Vec<u16>) |this, tape, _| { // Sequence
tape.take_given(this.record_count as usize)
},

coverage (Coverage) |this, tape, position| {
jump_take!(tape, position, this.coverage_offset)
},

sequences (Vec<Sequence>) |this, tape, position| {
jump_take!(tape, position, this.sequence_count, this.sequence_offsets)
records (Vec<Sequence>) |this, tape, position| {
jump_take!(tape, position, this.record_count, this.record_offsets)
},
}
}
Expand Down

0 comments on commit 4986678

Please sign in to comment.