Skip to content

bugfix: change LazyOffsetArrayIter16 to ignore null offsets#212

Open
asibahi wants to merge 1 commit intoharfbuzz:mainfrom
asibahi:ars/ssvn
Open

bugfix: change LazyOffsetArrayIter16 to ignore null offsets#212
asibahi wants to merge 1 commit intoharfbuzz:mainfrom
asibahi:ars/ssvn

Conversation

@asibahi
Copy link
Contributor

@asibahi asibahi commented Jan 13, 2026

this changes the next function in LazyOffsetArrayIter16to ignore None values in the array. All tests pass in tif-parser and rustybuzz. no code changes required in rustybuzz.

closes #211 , as I noticed none of call sites in rustybuzz expect a non-fused iterator. (they're mostly collect and any calls).

Edit:

Looking at the implementation of the corresponding data structure in read-fonts, it does not skip over the null offsets. However, all usage I could find map or filter_map except in a test).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query about LazyOffsetArray16 iterator

1 participant

Comments