Commit 8940e34
authored
fix: skip null offsets in LazyOffsetArrayIter16 instead of truncating (#212)
A NULL offset made next() return None, ending iteration and hiding every later entry. NULL is spec-legal in the GSUB/GPOS sequence-rule-set arrays, so valid fonts silently lost rule sets.1 parent 3a193ba commit 8940e34
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | | - | |
657 | | - | |
658 | | - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
659 | 660 | | |
| 661 | + | |
| 662 | + | |
660 | 663 | | |
661 | 664 | | |
662 | 665 | | |
| |||
0 commit comments