Xteink-X4-crosspoint-reader/lib/EpdFont
Eunchurn Park 68ce6db291
feat: Add custom font selection from SD card
Allow users to select custom fonts (.epdfont files) from the
/.crosspoint/fonts/ directory on the SD card for EPUB/TXT reading.

Features:
- New FontSelectionActivity for browsing and selecting fonts
- SdFont and SdFontFamily classes for loading fonts from SD card
- Dynamic font reloading without device reboot
- Reader cache invalidation when font changes
- Hash-based font ID generation for proper cache management

The custom fonts use the .epdfont binary format which supports:
- 2-bit antialiasing for smooth text rendering
- Efficient on-demand glyph loading with LRU cache
- Memory-optimized design for ESP32-C3 constraints
2026-01-18 18:46:23 +09:00
..
builtinFonts Swap from Aleo to Bookerly for wider glyph support (#172) 2025-12-31 02:28:25 +11:00
scripts Swap from Aleo to Bookerly for wider glyph support (#172) 2025-12-31 02:28:25 +11:00
EpdFont.cpp Small cleanups from https://github.com/juicecultus/crosspoint-reader-x4 2025-12-30 23:19:08 +11:00
EpdFont.h More pass by reference changes 2025-12-06 15:56:00 +11:00
EpdFontData.h Move to SDK EInkDisplay and enable anti-aliased 2-bit text (#5) 2025-12-08 19:48:49 +11:00
EpdFontFamily.cpp Use sane smaller data types for data in section.bin (#188) 2025-12-31 13:11:36 +11:00
EpdFontFamily.h feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00
SdFont.cpp feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00
SdFont.h feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00
SdFontFamily.cpp feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00
SdFontFamily.h feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00
SdFontFormat.h feat: Add custom font selection from SD card 2026-01-18 18:46:23 +09:00