Aleo, Noto Sans, Open Dyslexic fonts (#163)
## Summary * Swap out Bookerly font due to licensing issues, replace default font with Aleo * I did a bunch of searching around for a nice replacement font, and this trumped several other like Literata, Merriwether, Vollkorn, etc * Add Noto Sans, and Open Dyslexic as font options * They can be selected in the settings screen * Add font size options (Small, Medium, Large, Extra Large) * Adjustable in settings * Swap out uses of reader font in headings and replaced with slightly larger Ubuntu font * Replaced PixelArial14 font as it was difficult to track down, replace with Space Grotesk * Remove auto formatting on generated font files * Massively speeds up formatting step now that there is a lot more CPP font source * Include fonts with their licenses in the repo ## Additional Context Line compression setting will follow | Font | Small | Medium | Large | X Large | | --- | --- | --- | --- | --- | | Aleo |  |  |  |  | | Noto Sans |  |  |  |  | | Open Dyslexic |  |  |  |  |
This commit is contained in:
18
src/fontIds.h
Normal file
18
src/fontIds.h
Normal file
@@ -0,0 +1,18 @@
|
||||
// The contents of this file are generated by ./lib/EpdFont/scripts/build-font-ids.sh
|
||||
#pragma once
|
||||
|
||||
#define ALEO_12_FONT_ID (2101191384)
|
||||
#define ALEO_14_FONT_ID (-1834656672)
|
||||
#define ALEO_16_FONT_ID (-1982848762)
|
||||
#define ALEO_18_FONT_ID (-365302307)
|
||||
#define NOTOSANS_12_FONT_ID (-1646794343)
|
||||
#define NOTOSANS_14_FONT_ID (-890242897)
|
||||
#define NOTOSANS_16_FONT_ID (241925189)
|
||||
#define NOTOSANS_18_FONT_ID (1503221336)
|
||||
#define OPENDYSLEXIC_8_FONT_ID (875216341)
|
||||
#define OPENDYSLEXIC_10_FONT_ID (-1234231183)
|
||||
#define OPENDYSLEXIC_12_FONT_ID (1682200414)
|
||||
#define OPENDYSLEXIC_14_FONT_ID (-1851285286)
|
||||
#define UI_10_FONT_ID (-823541435)
|
||||
#define UI_12_FONT_ID (-126318184)
|
||||
#define SMALL_FONT_ID (-706443385)
|
||||
Reference in New Issue
Block a user