fix: Replaced Bookerly with Noto Serif for licensing reasons (#1736)

## Summary

Fixes #258. Bookerly is not licensed for use in CrossPoint. Switched to
Google's open Noto Serif font.

---

### 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**_
This commit is contained in:
Zach Nelson
2026-04-21 17:51:07 -05:00
committed by GitHub
parent 867fb7cbe2
commit c5f82709c0
75 changed files with 75630 additions and 78554 deletions
+6 -6
View File
@@ -225,7 +225,7 @@ bool CrossPointSettings::loadFromBinaryFile() {
float CrossPointSettings::getReaderLineCompression() const {
switch (fontFamily) {
case BOOKERLY:
case NOTOSERIF:
default:
switch (lineSpacing) {
case TIGHT:
@@ -293,18 +293,18 @@ int CrossPointSettings::getRefreshFrequency() const {
int CrossPointSettings::getReaderFontId() const {
switch (fontFamily) {
case BOOKERLY:
case NOTOSERIF:
default:
switch (fontSize) {
case SMALL:
return BOOKERLY_12_FONT_ID;
return NOTOSERIF_12_FONT_ID;
case MEDIUM:
default:
return BOOKERLY_14_FONT_ID;
return NOTOSERIF_14_FONT_ID;
case LARGE:
return BOOKERLY_16_FONT_ID;
return NOTOSERIF_16_FONT_ID;
case EXTRA_LARGE:
return BOOKERLY_18_FONT_ID;
return NOTOSERIF_18_FONT_ID;
}
case NOTOSANS:
switch (fontSize) {