Skip to content

Use sane smaller data types for data in section.bin#188

Merged
daveallie merged 2 commits intomasterfrom
chore/section-bin-cleanup
Dec 31, 2025
Merged

Use sane smaller data types for data in section.bin#188
daveallie merged 2 commits intomasterfrom
chore/section-bin-cleanup

Conversation

@daveallie
Copy link
Member

Summary

  • Update EpdFontFamily::Style to be u8 instead of u32 (saving 3 bytes per word)
  • Update layout width/height to be u16 from int
  • Update page element count to be u16 from u32
  • Update text block element count to be u16 from u32
  • Bumped section bin version to version 8

@daveallie daveallie merged commit 6e9ba10 into master Dec 31, 2025
1 check passed
@daveallie daveallie deleted the chore/section-bin-cleanup branch December 31, 2025 02:11
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
…r#188)

## Summary

* Update EpdFontFamily::Style to be u8 instead of u32 (saving 3 bytes
per word)
* Update layout width/height to be u16 from int
* Update page element count to be u16 from u32
* Update text block element count to be u16 from u32
* Bumped section bin version to version 8
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.

1 participant