Smaller fonts

This commit is contained in:
Irene Ying
2025-12-31 20:49:20 -08:00
parent 04ad4e5aa4
commit ae5c96dbbb
22 changed files with 33088 additions and 10 deletions

View File

@@ -131,6 +131,8 @@ int CrossPointSettings::getReaderFontId() const {
case BOOKERLY:
default:
switch (fontSize) {
case EXTRA_SMALL:
return BOOKERLY_10_FONT_ID;
case SMALL:
return BOOKERLY_12_FONT_ID;
case MEDIUM:
@@ -143,6 +145,8 @@ int CrossPointSettings::getReaderFontId() const {
}
case NOTOSANS:
switch (fontSize) {
case EXTRA_SMALL:
return NOTOSANS_10_FONT_ID;
case SMALL:
return NOTOSANS_12_FONT_ID;
case MEDIUM:
@@ -155,6 +159,8 @@ int CrossPointSettings::getReaderFontId() const {
}
case OPENDYSLEXIC:
switch (fontSize) {
case EXTRA_SMALL:
return OPENDYSLEXIC_7_FONT_ID;
case SMALL:
return OPENDYSLEXIC_8_FONT_ID;
case MEDIUM: