Skip to content

Add superscripts/subscripts to fonts and add Nix devshell#248

Closed
cor wants to merge 5 commits intocrosspoint-reader:masterfrom
cor:subscript-superscript
Closed

Add superscripts/subscripts to fonts and add Nix devshell#248
cor wants to merge 5 commits intocrosspoint-reader:masterfrom
cor:subscript-superscript

Conversation

@cor
Copy link
Contributor

@cor cor commented Jan 4, 2026

I was reading an epub that contained superscripts that weren't being rendered, so I made this PR.

This adds:

  1. Superscripts and subscripts to the built-in fonts
  2. A reproducible Nix development shell

I generated apps for all of the scripts because I wasn't sure which ones are relevant in the flow.

I flashed this firmware myself and it was working well.

NOTE: This does not introduce fully reproducible builds, as wrapping PlatformIO in Nix is outside of my skillset. Instead it introduces a reproducible environment in which platformIO can be ran on Nix machines, which should be reasonably reproducible for now.

@cor cor force-pushed the subscript-superscript branch from ef9de34 to cfb52c5 Compare January 5, 2026 17:55
Copy link
Member

@daveallie daveallie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please update the fontIds.h file with the new font IDs.

Also, I'm not really across the concept of a nix devshell and in the interest of not maintaining something I don't understand, I don't really want it to be added to the project, would you mind removing it from the diff

@patrolek
Copy link

Most of my books contain superscripts, is it possible to know, when this futere will be added to Crosspoint? I'm not a Guthub guy, so if this not a place for such a comment please forgive me and delete it : ))

@daveallie
Copy link
Member

Cherry-picked the relevant commit into #463, and updated the fonts there. Will close this one out as the only other thing in it is the Nix devshell which I don't want to merge.

@daveallie daveallie closed this Jan 21, 2026
daveallie added a commit that referenced this pull request Jan 21, 2026
## Summary

* Include superscripts and subscripts in fonts

## Additional Context

* Original change came from
#248

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? No

---------

Co-authored-by: cor <[email protected]>
yingirene pushed a commit to yingirene/crosspoint-reader that referenced this pull request Jan 25, 2026
…#463)

## Summary

* Include superscripts and subscripts in fonts

## Additional Context

* Original change came from
crosspoint-reader#248

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? No

---------

Co-authored-by: cor <[email protected]>
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
…#463)

## Summary

* Include superscripts and subscripts in fonts

## Additional Context

* Original change came from
crosspoint-reader#248

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? No

---------

Co-authored-by: cor <[email protected]>
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.

3 participants