Skip to content

Commit

Permalink
(kerx) kerx::SubtablesIter wasn't updating the current subtable i…
Browse files Browse the repository at this point in the history
…ndex.

Closes harfbuzz/rustybuzz#131
  • Loading branch information
RazrFalcon committed Aug 5, 2024
1 parent 85c1ff2 commit 9e6949a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- (`kerx`) `kerx::SubtablesIter` wasn't updating the current subtable index.

## [0.24.0] - 2024-07-02
### Changed
Expand Down
2 changes: 2 additions & 0 deletions src/tables/kerx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,8 @@ impl<'a> Iterator for SubtablesIter<'a> {
}
};

self.table_index += 1;

Some(Subtable {
horizontal: coverage.is_horizontal(),
variable: coverage.is_variable(),
Expand Down

0 comments on commit 9e6949a

Please sign in to comment.