Compare commits

..

6 Commits

Author SHA1 Message Date
Sam Davis
dc2a6ca2f8 add support for 1, 8 and 32 bit bmps 2025-12-15 17:48:09 +11:00
Sam Davis
9f51a31677 Rename BmpToMono -> BmpReader 2025-12-15 16:25:12 +11:00
Sam Davis
d60378719c rotate fullscreen bmp CCW instead of CW 2025-12-14 20:17:33 +11:00
Sam Davis
602d3da3a2 Render sleep.bmp when sleeping if it exists 2025-12-14 17:07:14 +11:00
Sam Davis
e2951c85e2 add separate render path when sleep.bmp is found in root of sd card 2025-12-14 15:06:23 +11:00
Sam Davis
130242fde8 ignore .vscode directory 2025-12-14 15:06:23 +11:00
60 changed files with 11369 additions and 20193 deletions

2
.github/FUNDING.yml vendored
View File

@ -1,2 +0,0 @@
github: [daveallie]
ko_fi: daveallie

View File

@ -1,54 +0,0 @@
name: Bug Report
description: Report an issue or unexpected behavior
title: "Short, descriptive title of the issue"
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report this bug! Please fill out the details below.
- type: input
id: version
attributes:
label: Affected Version
description: What version of the project/library are you using? (e.g., v1.2.3, master branch commit SHA)
placeholder: Ex. v1.2.3
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Describe the Bug
description: A clear and concise description of what the bug is.
placeholder:
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Clearly list the steps necessary to reproduce the unexpected behavior.
placeholder: |
1. Go to '...'
2. Select '...'
3. Crash
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant Log Output/Screenshots
description: If applicable, error messages, or log output to help explain your problem. You can drag and drop images here.
render: shell

View File

@ -1,9 +0,0 @@
## Summary
* **What is the goal of this PR?** (e.g., Fixes a bug in the user authentication module, Implements the new feature for
file uploading.)
* **What changes are included?**
## Additional Context
* Add any other information that might be helpful for the reviewer (e.g., performance implications, potential risks, specific areas to focus on).

View File

@ -1,43 +0,0 @@
name: CI
'on':
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: actions/cache@v5
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install clang-format-21
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 21
sudo apt-get update
sudo apt-get install -y clang-format-21
- name: Run cppcheck
run: pio check --fail-on-defect medium --fail-on-defect high
- name: Run clang-format
run: PATH="/usr/lib/llvm-21/bin:$PATH" ./bin/clang-format-fix && git diff --exit-code || (echo "Please run 'bin/clang-format-fix' to fix formatting issues" && exit 1)
- name: Build CrossPoint
run: pio run

View File

@ -1,40 +0,0 @@
name: Compile Release
on:
push:
tags:
- '*'
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: actions/cache@v5
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build CrossPoint
run: pio run -e gh_release
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: CrossPoint-${{ github.ref_name }}
path: |
.pio/build/gh_release/bootloader.bin
.pio/build/gh_release/firmware.bin
.pio/build/gh_release/firmware.elf
.pio/build/gh_release/firmware.map
.pio/build/gh_release/partitions.bin

1
.gitignore vendored
View File

@ -2,4 +2,3 @@
.idea .idea
.DS_Store .DS_Store
.vscode .vscode
lib/EpdFont/fontsrc

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
#pragma once #pragma once
#include "EpdFontData.h" #include "EpdFontData.h"
static const uint8_t pixelarial14Bitmaps[8296] = { static const uint8_t pixelarial14Bitmaps[1145] = {
0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0x1C, 0x63, 0x8C, 0xF7, 0x98, 0xCF, 0xFF, 0xFF, 0xDC, 0xE7, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xFF, 0x1C, 0x63, 0x8C, 0xF7, 0x98, 0xCF, 0xFF, 0xFF, 0xDC, 0xE7, 0xFE, 0xFF,
0xFF, 0xFB, 0x9C, 0x63, 0x0C, 0x60, 0x30, 0xF3, 0xFF, 0xBF, 0x1F, 0x9F, 0x9B, 0x37, 0xEF, 0xFB, 0xE3, 0x00, 0x70, 0xFF, 0xFB, 0x9C, 0x63, 0x0C, 0x60, 0x30, 0xF3, 0xFF, 0xBF, 0x1F, 0x9F, 0x9B, 0x37, 0xEF, 0xFB, 0xE3, 0x00, 0x70,
0x67, 0xCF, 0x37, 0x61, 0xBB, 0x0D, 0xF0, 0x7D, 0x81, 0xDD, 0xC0, 0xDF, 0x07, 0x98, 0xFC, 0xC7, 0x66, 0x7B, 0xF3, 0x67, 0xCF, 0x37, 0x61, 0xBB, 0x0D, 0xF0, 0x7D, 0x81, 0xDD, 0xC0, 0xDF, 0x07, 0x98, 0xFC, 0xC7, 0x66, 0x7B, 0xF3,
@ -67,392 +67,11 @@ static const uint8_t pixelarial14Bitmaps[8296] = {
0x66, 0x66, 0x7E, 0x3C, 0x3C, 0x7E, 0x66, 0xE7, 0xC3, 0xC1, 0xE0, 0xF0, 0x7C, 0x76, 0x33, 0xB8, 0xD8, 0x6C, 0x36, 0x66, 0x66, 0x7E, 0x3C, 0x3C, 0x7E, 0x66, 0xE7, 0xC3, 0xC1, 0xE0, 0xF0, 0x7C, 0x76, 0x33, 0xB8, 0xD8, 0x6C, 0x36,
0x1F, 0x07, 0x03, 0x81, 0xC3, 0xE1, 0xC0, 0xFF, 0xFF, 0x06, 0x1E, 0x1C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, 0x60, 0xFF, 0x8F, 0x03, 0x9F, 0xE0, 0xE1, 0xE3, 0xE1, 0xC0, 0x70,
0x1C, 0x07, 0x03, 0x80, 0x7E, 0x1B, 0xC0, 0x38, 0x06, 0x01, 0x8F, 0xE7, 0xB9, 0x86, 0xE1, 0xB8, 0x6E, 0x39, 0xDC,
0x3E, 0x00, 0x0E, 0x01, 0xC0, 0x7C, 0x0D, 0x83, 0xB8, 0x63, 0x0C, 0x73, 0x8E, 0x60, 0xDC, 0x1F, 0x83, 0xFF, 0xF0,
0xFF, 0xF8, 0x7E, 0x1F, 0x87, 0xE1, 0xF8, 0x7E, 0x1F, 0x87, 0xE1, 0xF8, 0x7E, 0x1F, 0x87, 0xE1, 0xC0, 0xFF, 0xF0,
0x1C, 0x07, 0x03, 0x80, 0xE0, 0x30, 0x38, 0x38, 0x1C, 0x1C, 0x0E, 0x0E, 0x07, 0xFC, 0xFF, 0x80, 0x03, 0x83, 0x81,
0x81, 0xC0, 0xC0, 0xE0, 0x60, 0x70, 0x30, 0x38, 0x38, 0x18, 0x00, 0x77, 0x00, 0xC0, 0x70, 0x18, 0x06, 0x01, 0x80,
0xEF, 0x33, 0xCC, 0x3F, 0x07, 0x81, 0xE0, 0x78, 0x0C, 0x00, 0x7F, 0xBF, 0xFC, 0xCF, 0xFF, 0x7F, 0x80, 0x1E, 0x70,
0xC1, 0x83, 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x1C, 0x70, 0x7D, 0xFF, 0xC0, 0x00, 0x07, 0xDF, 0xFC,
0x03, 0x03, 0xBF, 0xE1, 0x81, 0xC7, 0xFC, 0xC0, 0x60, 0x03, 0x87, 0x9F, 0x0E, 0x03, 0xC0, 0x78, 0x0E, 0x00, 0xFF,
0x80, 0x70, 0x3E, 0x03, 0xC0, 0x70, 0xF3, 0xE1, 0xC0, 0x00, 0xFF, 0x80,
}; };
static const EpdGlyph pixelarial14Glyphs[] = { static const EpdGlyph pixelarial14Glyphs[] = {
{0, 0, 0, 0, 0, 0, 0}, //
{0, 0, 0, 0, 0, 0, 0}, // 
{0, 0, 4, 0, 0, 0, 0}, //
{0, 0, 4, 0, 0, 0, 0}, //
{0, 0, 0, 0, 0, 0, 0}, // 
{0, 0, 4, 0, 0, 0, 0}, // {0, 0, 4, 0, 0, 0, 0}, //
{2, 13, 3, 0, 13, 4, 0}, // ! {2, 13, 3, 0, 13, 4, 0}, // !
{4, 6, 5, 0, 13, 3, 4}, // " {4, 6, 5, 0, 13, 3, 4}, // "
@ -548,494 +167,18 @@ static const EpdGlyph pixelarial14Glyphs[] = {
{2, 13, 3, 0, 13, 4, 1110}, // | {2, 13, 3, 0, 13, 4, 1110}, // |
{4, 17, 5, 0, 13, 9, 1114}, // } {4, 17, 5, 0, 13, 9, 1114}, // }
{11, 4, 12, 0, 9, 6, 1123}, // ~ {11, 4, 12, 0, 9, 6, 1123}, // ~
{0, 0, 4, 0, 0, 0, 1129}, //   {3, 6, 4, 0, 13, 3, 1129}, //
{3, 12, 5, 1, 9, 5, 1129}, // ¡ {3, 6, 4, 0, 13, 3, 1132}, //
{8, 13, 10, 1, 11, 13, 1134}, // ¢ {6, 6, 6, 0, 13, 5, 1135}, // “
{8, 12, 10, 1, 12, 12, 1147}, // £ {6, 6, 6, 0, 13, 5, 1140}, // ”
{9, 9, 10, 0, 11, 11, 1159}, // ¤
{10, 12, 10, 0, 12, 15, 1170}, // ¥
{3, 16, 5, 1, 13, 6, 1185}, // ¦
{8, 14, 8, 0, 13, 14, 1191}, // §
{6, 2, 6, 0, 12, 2, 1205}, // ¨
{12, 12, 14, 1, 12, 18, 1207}, // ©
{6, 6, 7, 0, 12, 5, 1225}, // ª
{8, 7, 8, 0, 8, 7, 1230}, // «
{9, 5, 10, 0, 6, 6, 1237}, // ¬
{5, 1, 5, 0, 5, 1, 1243}, // ­
{12, 12, 14, 1, 12, 18, 1244}, // ®
{6, 1, 6, 0, 12, 1, 1262}, // ¯
{6, 5, 6, 0, 13, 4, 1263}, // °
{9, 10, 10, 0, 10, 12, 1267}, // ±
{6, 7, 6, 0, 12, 6, 1279}, // ²
{6, 7, 6, 0, 12, 6, 1285}, // ³
{4, 3, 6, 2, 13, 2, 1291}, // ´
{8, 12, 10, 1, 9, 12, 1293}, // µ
{10, 15, 11, 0, 12, 19, 1305}, // ¶
{4, 2, 4, 0, 6, 1, 1324}, // ·
{4, 3, 6, 1, 0, 2, 1325}, // ¸
{5, 7, 6, 0, 12, 5, 1327}, // ¹
{7, 6, 8, 0, 12, 6, 1332}, // º
{8, 7, 8, 0, 8, 7, 1338}, // »
{15, 12, 15, 0, 12, 23, 1345}, // ¼
{15, 12, 15, 0, 12, 23, 1368}, // ½
{15, 12, 15, 0, 12, 23, 1391}, // ¾
{7, 12, 7, 0, 9, 11, 1414}, // ¿
{12, 16, 11, 0, 16, 24, 1425}, // À
{12, 16, 11, 0, 16, 24, 1449}, // Á
{12, 16, 11, 0, 16, 24, 1473}, // Â
{12, 16, 11, 0, 16, 24, 1497}, // Ã
{12, 15, 11, 0, 15, 23, 1521}, // Ä
{12, 15, 11, 0, 15, 23, 1544}, // Å
{16, 12, 16, 0, 12, 24, 1567}, // Æ
{11, 16, 11, 0, 13, 22, 1591}, // Ç
{9, 16, 10, 1, 16, 18, 1613}, // È
{9, 16, 10, 1, 16, 18, 1631}, // É
{9, 16, 10, 1, 16, 18, 1649}, // Ê
{9, 15, 10, 1, 15, 17, 1667}, // Ë
{4, 16, 5, 0, 16, 8, 1684}, // Ì
{4, 16, 5, 1, 16, 8, 1692}, // Í
{6, 16, 5, -1, 16, 12, 1700}, // Î
{6, 15, 5, -1, 15, 12, 1712}, // Ï
{12, 12, 12, 0, 12, 18, 1724}, // Ð
{10, 16, 12, 1, 16, 20, 1742}, // Ñ
{13, 16, 13, 0, 16, 26, 1762}, // Ò
{13, 16, 13, 0, 16, 26, 1788}, // Ó
{13, 16, 13, 0, 16, 26, 1814}, // Ô
{13, 16, 13, 0, 16, 26, 1840}, // Õ
{13, 15, 13, 0, 15, 25, 1866}, // Ö
{8, 7, 10, 1, 9, 7, 1891}, // ×
{13, 12, 13, 0, 12, 20, 1898}, // Ø
{10, 16, 12, 1, 16, 20, 1918}, // Ù
{10, 16, 12, 1, 16, 20, 1938}, // Ú
{10, 16, 12, 1, 16, 20, 1958}, // Û
{10, 15, 12, 1, 15, 19, 1978}, // Ü
{11, 16, 10, 0, 16, 22, 1997}, // Ý
{9, 12, 10, 1, 12, 14, 2019}, // Þ
{9, 13, 11, 1, 13, 15, 2033}, // ß
{8, 13, 9, 0, 13, 13, 2048}, // à
{8, 13, 9, 0, 13, 13, 2061}, // á
{8, 13, 9, 0, 13, 13, 2074}, // â
{8, 13, 9, 0, 13, 13, 2087}, // ã
{8, 12, 9, 0, 12, 12, 2100}, // ä
{8, 14, 9, 0, 14, 14, 2112}, // å
{14, 9, 15, 0, 9, 16, 2126}, // æ
{8, 12, 8, 0, 9, 12, 2142}, // ç
{9, 13, 10, 0, 13, 15, 2154}, // è
{9, 13, 10, 0, 13, 15, 2169}, // é
{9, 13, 10, 0, 13, 15, 2184}, // ê
{9, 12, 10, 0, 12, 14, 2199}, // ë
{4, 13, 4, 0, 13, 7, 2213}, // ì
{4, 13, 4, 1, 13, 7, 2220}, // í
{6, 13, 4, -1, 13, 10, 2227}, // î
{6, 12, 4, -1, 12, 9, 2237}, // ï
{10, 13, 10, 0, 13, 17, 2246}, // ð
{8, 13, 10, 1, 13, 13, 2263}, // ñ
{10, 13, 10, 0, 13, 17, 2276}, // ò
{10, 13, 10, 0, 13, 17, 2293}, // ó
{10, 13, 10, 0, 13, 17, 2310}, // ô
{10, 13, 10, 0, 13, 17, 2327}, // õ
{10, 12, 10, 0, 12, 15, 2344}, // ö
{9, 9, 10, 0, 9, 11, 2359}, // ÷
{10, 9, 10, 0, 9, 12, 2370}, // ø
{8, 13, 10, 1, 13, 13, 2382}, // ù
{8, 13, 10, 1, 13, 13, 2395}, // ú
{8, 13, 10, 1, 13, 13, 2408}, // û
{8, 12, 10, 1, 12, 12, 2421}, // ü
{9, 16, 8, 0, 13, 18, 2433}, // ý
{9, 16, 10, 1, 13, 18, 2451}, // þ
{9, 15, 8, 0, 12, 17, 2469}, // ÿ
{12, 15, 11, 0, 15, 23, 2486}, // Ā
{8, 12, 9, 0, 12, 12, 2509}, // ā
{12, 15, 11, 0, 15, 23, 2521}, // Ă
{8, 12, 9, 0, 12, 12, 2544}, // ă
{12, 15, 11, 0, 12, 23, 2556}, // Ą
{8, 12, 9, 0, 9, 12, 2579}, // ą
{11, 16, 11, 0, 16, 22, 2591}, // Ć
{8, 13, 8, 0, 13, 13, 2613}, // ć
{11, 16, 11, 0, 16, 22, 2626}, // Ĉ
{8, 13, 8, 0, 13, 13, 2648}, // ĉ
{11, 15, 11, 0, 15, 21, 2661}, // Ċ
{8, 12, 8, 0, 12, 12, 2682}, // ċ
{11, 16, 11, 0, 16, 22, 2694}, // Č
{8, 13, 8, 0, 13, 13, 2716}, // č
{11, 16, 12, 1, 16, 22, 2729}, // Ď
{12, 13, 11, 0, 13, 20, 2751}, // ď
{12, 12, 12, 0, 12, 18, 2771}, // Đ
{10, 13, 10, 0, 13, 17, 2789}, // đ
{9, 15, 10, 1, 15, 17, 2806}, // Ē
{9, 12, 10, 0, 12, 14, 2823}, // ē
{9, 15, 10, 1, 15, 17, 2837}, // Ĕ
{9, 12, 10, 0, 12, 14, 2854}, // ĕ
{9, 15, 10, 1, 15, 17, 2868}, // Ė
{9, 12, 10, 0, 12, 14, 2885}, // ė
{9, 15, 10, 1, 12, 17, 2899}, // Ę
{9, 12, 10, 0, 9, 14, 2916}, // ę
{9, 16, 10, 1, 16, 18, 2930}, // Ě
{9, 14, 10, 0, 14, 16, 2948}, // ě
{11, 16, 11, 0, 16, 22, 2964}, // Ĝ
{9, 16, 10, 0, 13, 18, 2986}, // ĝ
{11, 15, 11, 0, 15, 21, 3004}, // Ğ
{9, 15, 10, 0, 12, 17, 3025}, // ğ
{11, 15, 11, 0, 15, 21, 3042}, // Ġ
{9, 15, 10, 0, 12, 17, 3063}, // ġ
{11, 15, 11, 0, 12, 21, 3080}, // Ģ
{9, 16, 10, 0, 13, 18, 3101}, // ģ
{10, 16, 12, 1, 16, 20, 3119}, // Ĥ
{9, 16, 10, 0, 16, 18, 3139}, // ĥ
{13, 12, 12, 0, 12, 20, 3157}, // Ħ
{9, 13, 10, 0, 13, 15, 3177}, // ħ
{7, 16, 5, -1, 16, 14, 3192}, // Ĩ
{6, 13, 4, -1, 13, 10, 3206}, // ĩ
{6, 15, 5, -1, 15, 12, 3216}, // Ī
{6, 12, 4, -1, 12, 9, 3228}, // ī
{5, 15, 5, 0, 15, 10, 3237}, // Ĭ
{6, 12, 4, -1, 12, 9, 3247}, // ĭ
{4, 15, 5, 0, 12, 8, 3256}, // Į
{4, 16, 4, 0, 13, 8, 3264}, // į
{3, 15, 5, 1, 15, 6, 3272}, // İ
{2, 9, 4, 1, 9, 3, 3278}, // ı
{11, 12, 13, 1, 12, 17, 3281}, // IJ
{7, 16, 9, 1, 13, 14, 3298}, // ij
{9, 16, 9, 0, 16, 18, 3312}, // Ĵ
{7, 16, 4, -2, 13, 14, 3330}, // ĵ
{10, 15, 11, 1, 12, 19, 3344}, // Ķ
{8, 16, 9, 1, 13, 16, 3363}, // ķ
{8, 9, 9, 1, 9, 9, 3379}, // ĸ
{8, 16, 9, 1, 16, 16, 3388}, // Ĺ
{4, 16, 5, 1, 16, 8, 3404}, // ĺ
{8, 15, 9, 1, 12, 15, 3412}, // Ļ
{5, 16, 5, 0, 13, 10, 3427}, // ļ
{8, 12, 9, 1, 12, 12, 3437}, // Ľ
{5, 13, 5, 1, 13, 9, 3449}, // ľ
{8, 12, 9, 1, 12, 12, 3458}, // Ŀ
{6, 13, 6, 1, 13, 10, 3470}, // ŀ
{10, 12, 9, -1, 12, 15, 3480}, // Ł
{5, 13, 5, 0, 13, 9, 3495}, // ł
{10, 16, 12, 1, 16, 20, 3504}, // Ń
{8, 13, 10, 1, 13, 13, 3524}, // ń
{10, 15, 12, 1, 12, 19, 3537}, // Ņ
{8, 12, 10, 1, 9, 12, 3556}, // ņ
{10, 16, 12, 1, 16, 20, 3568}, // Ň
{8, 13, 10, 1, 13, 13, 3588}, // ň
{9, 14, 10, 0, 14, 16, 3601}, // ʼn
{10, 15, 12, 1, 12, 19, 3617}, // Ŋ
{8, 12, 10, 1, 9, 12, 3636}, // ŋ
{13, 15, 13, 0, 15, 25, 3648}, // Ō
{10, 12, 10, 0, 12, 15, 3673}, // ō
{13, 15, 13, 0, 15, 25, 3688}, // Ŏ
{10, 12, 10, 0, 12, 15, 3713}, // ŏ
{13, 16, 13, 0, 16, 26, 3728}, // Ő
{10, 13, 10, 0, 13, 17, 3754}, // ő
{17, 12, 17, 0, 12, 26, 3771}, // Œ
{16, 9, 16, 0, 9, 18, 3797}, // œ
{10, 16, 11, 1, 16, 20, 3815}, // Ŕ
{6, 13, 7, 1, 13, 10, 3835}, // ŕ
{10, 15, 11, 1, 12, 19, 3845}, // Ŗ
{7, 12, 7, 0, 9, 11, 3864}, // ŗ
{10, 16, 11, 1, 16, 20, 3875}, // Ř
{6, 13, 7, 1, 13, 10, 3895}, // ř
{9, 16, 9, 0, 16, 18, 3905}, // Ś
{7, 13, 8, 0, 13, 12, 3923}, // ś
{9, 16, 9, 0, 16, 18, 3935}, // Ŝ
{7, 13, 8, 0, 13, 12, 3953}, // ŝ
{9, 15, 9, 0, 12, 17, 3965}, // Ş
{7, 12, 8, 0, 9, 11, 3982}, // ş
{9, 16, 9, 0, 16, 18, 3993}, // Š
{7, 13, 8, 0, 13, 12, 4011}, // š
{10, 15, 10, 0, 12, 19, 4023}, // Ţ
{6, 15, 7, 1, 12, 12, 4042}, // ţ
{10, 16, 10, 0, 16, 20, 4054}, // Ť
{6, 13, 7, 1, 13, 10, 4074}, // ť
{10, 12, 10, 0, 12, 15, 4084}, // Ŧ
{6, 12, 7, 1, 12, 9, 4099}, // ŧ
{10, 16, 12, 1, 16, 20, 4108}, // Ũ
{8, 13, 10, 1, 13, 13, 4128}, // ũ
{10, 15, 12, 1, 15, 19, 4141}, // Ū
{8, 12, 10, 1, 12, 12, 4160}, // ū
{10, 15, 12, 1, 15, 19, 4172}, // Ŭ
{8, 12, 10, 1, 12, 12, 4191}, // ŭ
{10, 17, 12, 1, 17, 22, 4203}, // Ů
{8, 14, 10, 1, 14, 14, 4225}, // ů
{10, 16, 12, 1, 16, 20, 4239}, // Ű
{8, 13, 10, 1, 13, 13, 4259}, // ű
{10, 15, 12, 1, 12, 19, 4272}, // Ų
{8, 12, 10, 1, 9, 12, 4291}, // ų
{16, 16, 16, 0, 16, 32, 4303}, // Ŵ
{13, 13, 13, 0, 13, 22, 4335}, // ŵ
{11, 16, 10, 0, 16, 22, 4357}, // Ŷ
{9, 16, 8, 0, 13, 18, 4379}, // ŷ
{11, 15, 10, 0, 15, 21, 4397}, // Ÿ
{10, 16, 10, 0, 16, 20, 4418}, // Ź
{8, 13, 8, 0, 13, 13, 4438}, // ź
{10, 15, 10, 0, 15, 19, 4451}, // Ż
{8, 12, 8, 0, 12, 12, 4470}, // ż
{10, 16, 10, 0, 16, 20, 4482}, // Ž
{8, 13, 8, 0, 13, 13, 4502}, // ž
{6, 14, 5, 1, 14, 11, 4515}, // ſ
{6, 2, 6, 0, 12, 2, 4526}, // ̑
{9, 16, 10, 1, 16, 18, 4528}, // Ѐ
{9, 15, 10, 1, 15, 17, 4546}, // Ё
{13, 12, 13, 0, 12, 20, 4563}, // Ђ
{8, 16, 9, 1, 16, 16, 4583}, // Ѓ
{11, 12, 11, 0, 12, 17, 4599}, // Є
{9, 12, 9, 0, 12, 14, 4616}, // Ѕ
{3, 12, 5, 1, 12, 5, 4630}, // І
{6, 15, 5, -1, 15, 12, 4635}, // Ї
{8, 12, 9, 0, 12, 12, 4647}, // Ј
{18, 13, 18, 0, 12, 30, 4659}, // Љ
{16, 12, 17, 1, 12, 24, 4689}, // Њ
{12, 12, 13, 0, 12, 18, 4713}, // Ћ
{10, 16, 11, 1, 16, 20, 4731}, // Ќ
{10, 16, 12, 1, 16, 20, 4751}, // Ѝ
{10, 15, 10, 0, 15, 19, 4771}, // Ў
{10, 15, 12, 1, 12, 19, 4790}, // Џ
{12, 12, 11, 0, 12, 18, 4809}, // А
{9, 12, 11, 1, 12, 14, 4827}, // Б
{10, 12, 11, 1, 12, 15, 4841}, // В
{8, 12, 9, 1, 12, 12, 4856}, // Г
{12, 15, 12, 0, 12, 23, 4868}, // Д
{9, 12, 10, 1, 12, 14, 4891}, // Е
{15, 12, 15, 0, 12, 23, 4905}, // Ж
{9, 12, 10, 0, 12, 14, 4928}, // З
{10, 12, 12, 1, 12, 15, 4942}, // И
{10, 15, 12, 1, 15, 19, 4957}, // Й
{10, 12, 11, 1, 12, 15, 4976}, // К
{11, 12, 12, 0, 12, 17, 4991}, // Л
{13, 12, 15, 1, 12, 20, 5008}, // М
{10, 12, 12, 1, 12, 15, 5028}, // Н
{13, 12, 13, 0, 12, 20, 5043}, // О
{10, 12, 12, 1, 12, 15, 5063}, // П
{9, 12, 10, 1, 12, 14, 5078}, // Р
{11, 13, 11, 0, 13, 18, 5092}, // С
{10, 12, 10, 0, 12, 15, 5110}, // Т
{10, 12, 10, 0, 12, 15, 5125}, // У
{14, 13, 15, 0, 13, 23, 5140}, // Ф
{11, 12, 11, 0, 12, 17, 5163}, // Х
{11, 15, 12, 1, 12, 21, 5180}, // Ц
{10, 12, 11, 0, 12, 15, 5201}, // Ч
{15, 12, 17, 1, 12, 23, 5216}, // Ш
{16, 15, 17, 1, 12, 30, 5239}, // Щ
{12, 12, 12, 0, 12, 18, 5269}, // Ъ
{13, 12, 15, 1, 12, 20, 5287}, // Ы
{9, 12, 10, 1, 12, 14, 5307}, // Ь
{10, 12, 11, 0, 12, 15, 5321}, // Э
{16, 12, 18, 1, 12, 24, 5336}, // Ю
{10, 12, 11, 0, 12, 15, 5360}, // Я
{8, 9, 9, 0, 9, 9, 5375}, // а
{9, 13, 10, 1, 13, 15, 5384}, // б
{8, 9, 9, 1, 9, 9, 5399}, // в
{6, 9, 7, 1, 9, 7, 5408}, // г
{10, 11, 10, 0, 9, 14, 5415}, // д
{9, 9, 10, 0, 9, 11, 5429}, // е
{13, 9, 13, 0, 9, 15, 5440}, // ж
{8, 9, 8, 0, 9, 9, 5455}, // з
{8, 9, 10, 1, 9, 9, 5464}, // и
{8, 12, 10, 1, 12, 12, 5473}, // й
{8, 9, 9, 1, 9, 9, 5485}, // к
{9, 9, 10, 0, 9, 11, 5494}, // л
{11, 9, 12, 1, 9, 13, 5505}, // м
{8, 9, 10, 1, 9, 9, 5518}, // н
{10, 9, 10, 0, 9, 12, 5527}, // о
{8, 9, 10, 1, 9, 9, 5539}, // п
{9, 12, 10, 1, 9, 14, 5548}, // р
{8, 9, 8, 0, 9, 9, 5562}, // с
{8, 9, 8, 0, 9, 9, 5571}, // т
{9, 12, 8, 0, 9, 14, 5580}, // у
{13, 16, 13, 0, 13, 26, 5594}, // ф
{9, 9, 9, 0, 9, 11, 5620}, // х
{9, 11, 10, 1, 9, 13, 5631}, // ц
{8, 9, 9, 0, 9, 9, 5644}, // ч
{12, 9, 14, 1, 9, 14, 5653}, // ш
{13, 11, 14, 1, 9, 18, 5667}, // щ
{10, 9, 10, 0, 9, 12, 5685}, // ъ
{11, 9, 13, 1, 9, 13, 5697}, // ы
{8, 9, 9, 1, 9, 9, 5710}, // ь
{8, 9, 8, 0, 9, 9, 5719}, // э
{12, 9, 14, 1, 9, 14, 5728}, // ю
{8, 9, 9, 0, 9, 9, 5742}, // я
{9, 13, 10, 0, 13, 15, 5751}, // ѐ
{9, 12, 10, 0, 12, 14, 5766}, // ё
{9, 16, 10, 0, 13, 18, 5780}, // ђ
{6, 13, 7, 1, 13, 10, 5798}, // ѓ
{8, 9, 8, 0, 9, 9, 5808}, // є
{7, 9, 8, 0, 9, 8, 5817}, // ѕ
{3, 13, 4, 1, 13, 5, 5825}, // і
{6, 12, 4, -1, 12, 9, 5830}, // ї
{6, 16, 4, -2, 13, 12, 5839}, // ј
{15, 9, 15, 0, 9, 17, 5851}, // љ
{13, 9, 14, 1, 9, 15, 5868}, // њ
{9, 13, 10, 0, 13, 15, 5883}, // ћ
{8, 13, 9, 1, 13, 13, 5898}, // ќ
{8, 13, 10, 1, 13, 13, 5911}, // ѝ
{9, 15, 8, 0, 12, 17, 5924}, // ў
{8, 11, 10, 1, 9, 11, 5941}, // џ
{12, 13, 12, 0, 13, 20, 5952}, // Ѣ
{10, 13, 10, 0, 13, 17, 5972}, // ѣ
{13, 12, 13, 0, 12, 20, 5989}, // Ѳ
{10, 9, 10, 0, 9, 12, 6009}, // ѳ
{14, 12, 13, 0, 12, 21, 6021}, // Ѵ
{10, 9, 10, 0, 9, 12, 6042}, // ѵ
{12, 18, 13, 1, 15, 27, 6054}, // Ҋ
{10, 15, 10, 1, 12, 19, 6081}, // ҋ
{11, 13, 11, 0, 13, 18, 6100}, // Ҍ
{9, 9, 9, 0, 9, 11, 6118}, // ҍ
{9, 12, 10, 1, 12, 14, 6129}, // Ҏ
{9, 12, 10, 1, 9, 14, 6143}, // ҏ
{8, 14, 9, 1, 14, 14, 6157}, // Ґ
{6, 11, 7, 1, 11, 9, 6171}, // ґ
{9, 12, 9, 0, 12, 14, 6180}, // Ғ
{7, 9, 7, 0, 9, 8, 6194}, // ғ
{9, 15, 11, 1, 12, 17, 6202}, // Ҕ
{8, 12, 9, 1, 9, 12, 6219}, // ҕ
{16, 15, 16, 0, 12, 30, 6231}, // Җ
{14, 11, 13, 0, 9, 20, 6261}, // җ
{9, 15, 10, 0, 12, 17, 6281}, // Ҙ
{8, 12, 8, 0, 9, 12, 6298}, // ҙ
{11, 15, 11, 1, 12, 21, 6310}, // Қ
{9, 12, 9, 1, 9, 14, 6331}, // қ
{11, 12, 12, 1, 12, 17, 6345}, // Ҝ
{10, 9, 11, 1, 9, 12, 6362}, // ҝ
{11, 12, 11, 0, 12, 17, 6374}, // Ҟ
{10, 9, 9, 0, 9, 12, 6391}, // ҟ
{13, 12, 13, 0, 12, 20, 6403}, // Ҡ
{11, 9, 10, 0, 9, 13, 6423}, // ҡ
{11, 15, 12, 1, 12, 21, 6436}, // Ң
{9, 11, 10, 1, 9, 13, 6457}, // ң
{13, 12, 14, 1, 12, 20, 6470}, // Ҥ
{10, 9, 11, 1, 9, 12, 6490}, // ҥ
{16, 15, 18, 1, 12, 30, 6502}, // Ҧ
{14, 12, 15, 1, 9, 21, 6532}, // ҧ
{13, 15, 13, 0, 12, 25, 6553}, // Ҩ
{10, 11, 10, 0, 9, 14, 6578}, // ҩ
{11, 16, 11, 0, 13, 22, 6592}, // Ҫ
{8, 12, 8, 0, 9, 12, 6614}, // ҫ
{10, 15, 10, 0, 12, 19, 6626}, // Ҭ
{8, 11, 8, 0, 9, 11, 6645}, // ҭ
{11, 12, 10, 0, 12, 17, 6656}, // Ү
{9, 12, 9, 0, 9, 14, 6673}, // ү
{11, 12, 10, 0, 12, 17, 6687}, // Ұ
{9, 12, 9, 0, 9, 14, 6704}, // ұ
{11, 15, 11, 0, 12, 21, 6718}, // Ҳ
{9, 11, 9, 0, 9, 13, 6739}, // ҳ
{15, 15, 14, 0, 12, 29, 6752}, // Ҵ
{11, 11, 11, 0, 9, 16, 6781}, // ҵ
{11, 16, 11, 0, 12, 22, 6797}, // Ҷ
{9, 11, 9, 0, 9, 13, 6819}, // ҷ
{10, 12, 11, 0, 12, 15, 6832}, // Ҹ
{8, 9, 9, 0, 9, 9, 6847}, // ҹ
{9, 12, 11, 1, 12, 14, 6856}, // Һ
{8, 13, 10, 1, 13, 13, 6870}, // һ
{14, 12, 14, 0, 12, 21, 6883}, // Ҽ
{11, 9, 11, 0, 9, 13, 6904}, // ҽ
{14, 15, 14, 0, 12, 27, 6917}, // Ҿ
{11, 11, 11, 0, 9, 16, 6944}, // ҿ
{3, 12, 5, 1, 12, 5, 6960}, // Ӏ
{15, 15, 15, 0, 15, 29, 6965}, // Ӂ
{13, 12, 13, 0, 12, 20, 6994}, // ӂ
{9, 15, 11, 1, 12, 17, 7014}, // Ӄ
{8, 12, 9, 1, 9, 12, 7031}, // ӄ
{13, 15, 12, 0, 12, 25, 7043}, // Ӆ
{11, 12, 10, 0, 9, 17, 7068}, // ӆ
{10, 15, 12, 1, 12, 19, 7085}, // Ӈ
{8, 12, 10, 1, 9, 12, 7104}, // ӈ
{12, 15, 12, 1, 12, 23, 7116}, // Ӊ
{10, 12, 10, 1, 9, 15, 7139}, // ӊ
{9, 15, 11, 1, 12, 17, 7154}, // Ӌ
{8, 11, 9, 0, 9, 11, 7171}, // ӌ
{15, 15, 15, 1, 12, 29, 7182}, // Ӎ
{12, 12, 13, 1, 9, 18, 7211}, // ӎ
{3, 12, 5, 1, 12, 5, 7229}, // ӏ
{12, 15, 11, 0, 15, 23, 7234}, // Ӑ
{8, 12, 9, 0, 12, 12, 7257}, // ӑ
{12, 15, 11, 0, 15, 23, 7269}, // Ӓ
{8, 12, 9, 0, 12, 12, 7292}, // ӓ
{16, 12, 16, 0, 12, 24, 7304}, // Ӕ
{14, 9, 15, 0, 9, 16, 7328}, // ӕ
{9, 15, 10, 1, 15, 17, 7344}, // Ӗ
{9, 12, 10, 0, 12, 14, 7361}, // ӗ
{11, 12, 12, 0, 12, 17, 7375}, // Ә
{9, 9, 10, 0, 9, 11, 7392}, // ә
{11, 15, 12, 0, 15, 21, 7403}, // Ӛ
{9, 12, 10, 0, 12, 14, 7424}, // ӛ
{15, 15, 15, 0, 15, 29, 7438}, // Ӝ
{13, 12, 13, 0, 12, 20, 7467}, // ӝ
{9, 15, 10, 0, 15, 17, 7487}, // Ӟ
{8, 12, 8, 0, 12, 12, 7504}, // ӟ
{9, 12, 10, 0, 12, 14, 7516}, // Ӡ
{9, 12, 8, -1, 9, 14, 7530}, // ӡ
{10, 15, 12, 1, 15, 19, 7544}, // Ӣ
{8, 12, 10, 1, 12, 12, 7563}, // ӣ
{10, 15, 12, 1, 15, 19, 7575}, // Ӥ
{8, 12, 10, 1, 12, 12, 7594}, // ӥ
{13, 15, 13, 0, 15, 25, 7606}, // Ӧ
{10, 12, 10, 0, 12, 15, 7631}, // ӧ
{13, 12, 13, 0, 12, 20, 7646}, // Ө
{10, 9, 10, 0, 9, 12, 7666}, // ө
{13, 15, 13, 0, 15, 25, 7678}, // Ӫ
{10, 12, 10, 0, 12, 15, 7703}, // ӫ
{10, 15, 11, 0, 15, 19, 7718}, // Ӭ
{8, 12, 8, 0, 12, 12, 7737}, // ӭ
{10, 15, 10, 0, 15, 19, 7749}, // Ӯ
{9, 15, 8, 0, 12, 17, 7768}, // ӯ
{10, 15, 10, 0, 15, 19, 7785}, // Ӱ
{9, 15, 8, 0, 12, 17, 7804}, // ӱ
{10, 16, 10, 0, 16, 20, 7821}, // Ӳ
{9, 16, 8, 0, 13, 18, 7841}, // ӳ
{10, 15, 11, 0, 15, 19, 7859}, // Ӵ
{8, 12, 9, 0, 12, 12, 7878}, // ӵ
{8, 15, 9, 1, 12, 15, 7890}, // Ӷ
{6, 11, 7, 1, 9, 9, 7905}, // ӷ
{13, 15, 15, 1, 15, 25, 7914}, // Ӹ
{11, 12, 13, 1, 12, 17, 7939}, // ӹ
{10, 1, 8, -1, 5, 2, 7956}, //
{18, 1, 17, -1, 5, 3, 7958}, // —
{18, 1, 17, -1, 5, 3, 7961}, // ―
{3, 6, 4, 0, 13, 3, 7964}, //
{3, 6, 4, 0, 13, 3, 7967}, //
{3, 4, 4, 0, 2, 2, 7970}, //
{6, 6, 6, 0, 13, 5, 7972}, // “
{6, 6, 6, 0, 13, 5, 7977}, // ”
{7, 4, 7, 0, 2, 4, 7982}, // „
{8, 14, 8, 0, 12, 14, 7986}, // †
{8, 14, 8, 0, 12, 14, 8000}, // ‡
{6, 4, 6, 0, 8, 3, 8014}, // •
{15, 2, 17, 1, 2, 4, 8017}, // …
{21, 12, 21, 0, 12, 32, 8021}, // ‰
{5, 7, 5, 0, 8, 5, 8053}, //
{5, 7, 5, 0, 8, 5, 8058}, //
{9, 12, 3, -3, 12, 14, 8063}, //
{10, 12, 10, 0, 12, 15, 8077}, // €
{9, 12, 10, 0, 12, 14, 8092}, // ₮
{9, 14, 10, 0, 13, 16, 8106}, // ₴
{9, 12, 10, 1, 12, 14, 8122}, // ₹
{10, 13, 10, 0, 13, 17, 8136}, // ∂
{11, 12, 11, 0, 12, 17, 8153}, // ∆
{10, 13, 12, 1, 11, 17, 8170}, // ∏
{9, 14, 9, 0, 12, 16, 8187}, // ∑
{9, 1, 10, 0, 5, 2, 8203}, //
{9, 12, 3, -3, 12, 14, 8205}, //
{4, 2, 4, 0, 6, 1, 8219}, // ∙
{10, 13, 10, 0, 13, 17, 8220}, // √
{10, 5, 10, 0, 7, 7, 8237}, // ∞
{7, 16, 6, 0, 13, 14, 8244}, // ∫
{9, 6, 10, 0, 8, 7, 8258}, // ≈
{9, 8, 10, 0, 9, 9, 8265}, // ≠
{9, 9, 10, 0, 9, 11, 8274}, // ≤
{9, 9, 10, 0, 9, 11, 8285}, // ≥
}; };
static const EpdUnicodeInterval pixelarial14Intervals[] = { static const EpdUnicodeInterval pixelarial14Intervals[] = {
{0x0, 0x0, 0x0}, {0x8, 0x9, 0x1}, {0xD, 0xD, 0x3}, {0x1D, 0x1D, 0x4}, {0x20, 0x7E, 0x0},
{0x20, 0x7E, 0x5}, {0xA0, 0xFF, 0x64}, {0x100, 0x17F, 0xC4}, {0x311, 0x311, 0x144}, {0x2018, 0x2019, 0x5F},
{0x400, 0x45F, 0x145}, {0x462, 0x463, 0x1A5}, {0x472, 0x475, 0x1A7}, {0x48A, 0x4F9, 0x1AB}, {0x201C, 0x201D, 0x61},
{0x2013, 0x2015, 0x21B}, {0x2018, 0x201A, 0x21E}, {0x201C, 0x201E, 0x221}, {0x2020, 0x2022, 0x224},
{0x2026, 0x2026, 0x227}, {0x2030, 0x2030, 0x228}, {0x2039, 0x203A, 0x229}, {0x2044, 0x2044, 0x22B},
{0x20AC, 0x20AC, 0x22C}, {0x20AE, 0x20AE, 0x22D}, {0x20B4, 0x20B4, 0x22E}, {0x20B9, 0x20B9, 0x22F},
{0x2202, 0x2202, 0x230}, {0x2206, 0x2206, 0x231}, {0x220F, 0x220F, 0x232}, {0x2211, 0x2212, 0x233},
{0x2215, 0x2215, 0x235}, {0x2219, 0x221A, 0x236}, {0x221E, 0x221E, 0x238}, {0x222B, 0x222B, 0x239},
{0x2248, 0x2248, 0x23A}, {0x2260, 0x2260, 0x23B}, {0x2264, 0x2265, 0x23C},
}; };
static const EpdFontData pixelarial14 = { static const EpdFontData pixelarial14 = {
pixelarial14Bitmaps, pixelarial14Glyphs, pixelarial14Intervals, 35, 17, 13, -4, false, pixelarial14Bitmaps, pixelarial14Glyphs, pixelarial14Intervals, 3, 17, 13, -4, false,
}; };

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
#pragma once #pragma once
#include "EpdFontData.h" #include "EpdFontData.h"
static const uint8_t ubuntu_bold_10Bitmaps[13720] = { static const uint8_t ubuntu_bold_10Bitmaps[8017] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xF0, 0xFF, 0xFF, 0xFF, 0xEF, 0xEF, 0xE7, 0x1E, 0xF0, 0xF7, 0x87, 0x3C, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xF0, 0xFF, 0xFF, 0xFF, 0xEF, 0xEF, 0xE7, 0x1E, 0xF0, 0xF7, 0x87, 0x3C,
0x39, 0xCF, 0xFF, 0xFF, 0xFC, 0xF7, 0x87, 0xBC, 0x39, 0xE7, 0xFF, 0xFF, 0xFE, 0xF7, 0x87, 0xBC, 0x39, 0xE1, 0xCE, 0x39, 0xCF, 0xFF, 0xFF, 0xFC, 0xF7, 0x87, 0xBC, 0x39, 0xE7, 0xFF, 0xFF, 0xFE, 0xF7, 0x87, 0xBC, 0x39, 0xE1, 0xCE,
0x00, 0x0F, 0x01, 0xE0, 0xFF, 0xBF, 0xF7, 0xFC, 0xFB, 0x9E, 0x03, 0xF8, 0x3F, 0xC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x3C, 0x1E, 0x0F, 0x07, 0x83, 0xC1,
0xE0, 0xF0, 0x78, 0x7C, 0x7E, 0x3F, 0x1F, 0x00, 0x00, 0x3C, 0x77, 0xFF, 0x7F, 0xEF, 0xFE, 0xE3, 0xC0, 0x00, 0x3C,
0x77, 0xFF, 0x7F, 0xEF, 0xFE, 0xE3, 0xC0, 0x03, 0x80, 0xE0, 0x7B, 0xFF, 0xFF, 0xFF, 0xF0, 0xE0, 0x70, 0xFF, 0xFF,
0xFF, 0xFD, 0xC0, 0x70, 0x1C, 0x00, 0x07, 0xDF, 0xFF, 0xFF, 0xFE, 0xF8, 0x3F, 0xEF, 0xFD, 0xFF, 0x07, 0xC0, 0x0F,
0xFF, 0xFF, 0xFF, 0xC0, 0xF8, 0x3F, 0xCF, 0xFD, 0xFF, 0x0F, 0xDF, 0xFF, 0xFF, 0xFE, 0xF8, 0x00, 0x0F, 0xFF, 0xFF,
0xFF, 0xC0,
}; };
static const EpdGlyph ubuntu_bold_10Glyphs[] = { static const EpdGlyph ubuntu_bold_10Glyphs[] = {
@ -1059,269 +758,54 @@ static const EpdGlyph ubuntu_bold_10Glyphs[] = {
{10, 17, 11, 0, 17, 22, 7407}, // ž {10, 17, 11, 0, 17, 22, 7407}, // ž
{9, 16, 7, 1, 16, 18, 7429}, // ſ {9, 16, 7, 1, 16, 18, 7429}, // ſ
{8, 3, 8, 0, 15, 3, 7447}, // ̑ {8, 3, 8, 0, 15, 3, 7447}, // ̑
{11, 21, 13, 1, 21, 29, 7450}, // Ѐ {11, 3, 11, 0, 8, 5, 7450}, //
{11, 20, 13, 1, 20, 28, 7479}, // Ё {21, 3, 21, 0, 8, 8, 7455}, // —
{17, 15, 17, 0, 15, 32, 7507}, // Ђ {21, 3, 21, 0, 8, 8, 7463}, // ―
{11, 21, 12, 1, 21, 29, 7539}, // Ѓ {5, 6, 5, 0, 16, 4, 7471}, //
{13, 15, 14, 1, 15, 25, 7568}, // Є {5, 6, 5, 0, 16, 4, 7475}, //
{12, 15, 12, 0, 15, 23, 7593}, // Ѕ {5, 6, 5, 0, 3, 4, 7479}, //
{4, 15, 7, 1, 15, 8, 7616}, // І {10, 6, 10, 0, 16, 8, 7483}, // “
{9, 19, 7, -1, 19, 22, 7624}, // Ї {9, 6, 10, 0, 16, 7, 7491}, // ”
{10, 15, 11, 0, 15, 19, 7646}, // Ј {9, 6, 10, 0, 3, 7, 7498}, // „
{23, 15, 24, 0, 15, 44, 7665}, // Љ {10, 18, 10, 0, 15, 23, 7505}, // †
{21, 15, 23, 1, 15, 40, 7709}, // Њ {10, 18, 10, 0, 15, 23, 7528}, // ‡
{16, 15, 16, 0, 15, 30, 7749}, // Ћ {7, 6, 8, 0, 10, 6, 7551}, // •
{14, 21, 14, 1, 21, 37, 7779}, // Ќ {19, 4, 21, 1, 4, 10, 7557}, // …
{14, 21, 16, 1, 21, 37, 7816}, // Ѝ {27, 15, 28, 0, 15, 51, 7567}, // ‰
{14, 20, 14, 0, 20, 35, 7853}, // Ў {7, 11, 7, 0, 11, 10, 7618}, //
{13, 19, 15, 1, 15, 31, 7888}, // Џ {7, 11, 7, 0, 11, 10, 7628}, //
{15, 15, 15, 0, 15, 29, 7919}, // А {11, 15, 3, -4, 15, 21, 7638}, //
{12, 15, 14, 1, 15, 23, 7948}, // Б {12, 15, 12, 0, 15, 23, 7659}, // €
{13, 15, 14, 1, 15, 25, 7971}, // В {12, 15, 12, 0, 15, 23, 7682}, // ₮
{11, 15, 12, 1, 15, 21, 7996}, // Г {12, 15, 12, 0, 15, 23, 7705}, // ₴
{17, 19, 17, 0, 15, 41, 8017}, // Д {13, 15, 12, 0, 15, 25, 7728}, // ₹
{11, 15, 13, 1, 15, 21, 8058}, // Е {12, 15, 13, 0, 15, 23, 7753}, // ∂
{21, 15, 21, 0, 15, 40, 8079}, // Ж {15, 15, 15, 0, 15, 29, 7776}, // ∆
{12, 15, 13, 0, 15, 23, 8119}, // З {13, 17, 15, 1, 15, 28, 7805}, // ∏
{14, 15, 16, 1, 15, 27, 8142}, // И {11, 17, 11, 0, 15, 24, 7833}, // ∑
{14, 20, 16, 1, 20, 35, 8169}, // Й {10, 3, 12, 1, 8, 4, 7857}, //
{14, 15, 14, 1, 15, 27, 8204}, // К {11, 15, 3, -4, 15, 21, 7861}, //
{15, 15, 17, 0, 15, 29, 8231}, // Л {5, 4, 5, 0, 9, 3, 7882}, // ∙
{17, 15, 19, 1, 15, 32, 8260}, // М {14, 15, 13, 0, 15, 27, 7885}, // √
{13, 15, 15, 1, 15, 25, 8292}, // Н {13, 7, 13, 0, 10, 12, 7912}, // ∞
{15, 15, 17, 1, 15, 29, 8317}, // О {9, 21, 8, 0, 16, 24, 7924}, // ∫
{13, 15, 15, 1, 15, 25, 8346}, // П {12, 11, 12, 0, 12, 17, 7948}, // ≈
{12, 15, 14, 1, 15, 23, 8371}, // Р {10, 14, 12, 1, 14, 18, 7965}, // ≠
{13, 15, 14, 1, 15, 25, 8394}, // С {10, 13, 12, 1, 13, 17, 7983}, // ≤
{13, 15, 13, 0, 15, 25, 8419}, // Т {10, 13, 12, 1, 13, 17, 8000}, // ≥
{14, 15, 14, 0, 15, 27, 8444}, // У
{18, 16, 18, 0, 16, 36, 8471}, // Ф
{14, 15, 14, 0, 15, 27, 8507}, // Х
{16, 19, 17, 1, 15, 38, 8534}, // Ц
{13, 15, 14, 0, 15, 25, 8572}, // Ч
{19, 15, 21, 1, 15, 36, 8597}, // Ш
{22, 19, 23, 1, 15, 53, 8633}, // Щ
{16, 15, 16, 0, 15, 30, 8686}, // Ъ
{17, 15, 19, 1, 15, 32, 8716}, // Ы
{12, 15, 14, 1, 15, 23, 8748}, // Ь
{14, 15, 14, 0, 15, 27, 8771}, // Э
{21, 15, 23, 1, 15, 40, 8798}, // Ю
{13, 15, 14, 0, 15, 25, 8838}, // Я
{11, 11, 12, 0, 11, 16, 8863}, // а
{12, 16, 13, 0, 16, 24, 8879}, // б
{11, 11, 13, 1, 11, 16, 8903}, // в
{9, 11, 10, 1, 11, 13, 8919}, // г
{14, 14, 14, 0, 11, 25, 8932}, // д
{12, 11, 12, 0, 11, 17, 8957}, // е
{18, 11, 18, 0, 11, 25, 8974}, // ж
{10, 11, 10, 0, 11, 14, 8999}, // з
{11, 11, 13, 1, 11, 16, 9013}, // и
{11, 17, 13, 1, 17, 24, 9029}, // й
{12, 11, 12, 1, 11, 17, 9053}, // к
{12, 11, 13, 0, 11, 17, 9070}, // л
{14, 11, 16, 1, 11, 20, 9087}, // м
{10, 11, 12, 1, 11, 14, 9107}, // н
{12, 11, 13, 0, 11, 17, 9121}, // о
{10, 11, 12, 1, 11, 14, 9138}, // п
{11, 15, 13, 1, 11, 21, 9152}, // р
{10, 11, 11, 0, 11, 14, 9173}, // с
{11, 11, 11, 0, 11, 16, 9187}, // т
{12, 15, 11, 0, 11, 23, 9203}, // у
{16, 20, 17, 0, 16, 40, 9226}, // ф
{12, 11, 12, 0, 11, 17, 9266}, // х
{12, 14, 13, 1, 11, 21, 9283}, // ц
{11, 11, 12, 0, 11, 16, 9304}, // ч
{16, 11, 18, 1, 11, 22, 9320}, // ш
{18, 14, 19, 1, 11, 32, 9342}, // щ
{13, 11, 13, 0, 11, 18, 9374}, // ъ
{15, 11, 17, 1, 11, 21, 9392}, // ы
{11, 11, 12, 1, 11, 16, 9413}, // ь
{11, 11, 11, 0, 11, 16, 9429}, // э
{17, 11, 18, 1, 11, 24, 9445}, // ю
{11, 11, 12, 0, 11, 16, 9469}, // я
{12, 17, 12, 0, 17, 26, 9485}, // ѐ
{12, 16, 12, 0, 16, 24, 9511}, // ё
{12, 20, 13, 0, 16, 30, 9535}, // ђ
{9, 17, 10, 1, 17, 20, 9565}, // ѓ
{11, 11, 11, 0, 11, 16, 9585}, // є
{10, 11, 10, 0, 11, 14, 9601}, // ѕ
{4, 16, 6, 1, 16, 8, 9615}, // і
{9, 16, 6, -2, 16, 18, 9623}, // ї
{7, 20, 6, -2, 16, 18, 9641}, // ј
{19, 11, 19, 0, 11, 27, 9659}, // љ
{17, 11, 18, 1, 11, 24, 9686}, // њ
{12, 16, 13, 0, 16, 24, 9710}, // ћ
{12, 17, 12, 1, 17, 26, 9734}, // ќ
{11, 17, 13, 1, 17, 24, 9760}, // ѝ
{12, 21, 11, 0, 17, 32, 9784}, // ў
{10, 14, 12, 1, 11, 18, 9816}, // џ
{15, 16, 16, 0, 16, 30, 9834}, // Ѣ
{13, 16, 13, 0, 16, 26, 9864}, // ѣ
{15, 15, 17, 1, 15, 29, 9890}, // Ѳ
{12, 11, 13, 0, 11, 17, 9919}, // ѳ
{18, 15, 17, 0, 15, 34, 9936}, // Ѵ
{13, 11, 13, 0, 11, 18, 9970}, // ѵ
{16, 23, 17, 1, 19, 46, 9988}, // Ҋ
{13, 19, 13, 1, 16, 31, 10034}, // ҋ
{13, 15, 14, 0, 15, 25, 10065}, // Ҍ
{12, 11, 12, 0, 11, 17, 10090}, // ҍ
{12, 15, 14, 1, 15, 23, 10107}, // Ҏ
{11, 15, 13, 1, 11, 21, 10130}, // ҏ
{11, 18, 12, 1, 18, 25, 10151}, // Ґ
{9, 14, 10, 1, 14, 16, 10176}, // ґ
{12, 15, 13, 1, 15, 23, 10192}, // Ғ
{10, 11, 11, 1, 11, 14, 10215}, // ғ
{13, 19, 14, 1, 15, 31, 10229}, // Ҕ
{11, 15, 12, 1, 11, 21, 10260}, // ҕ
{22, 19, 21, 0, 15, 53, 10281}, // Җ
{18, 14, 18, 0, 11, 32, 10334}, // җ
{12, 20, 13, 0, 15, 30, 10366}, // Ҙ
{10, 16, 10, 0, 11, 20, 10396}, // ҙ
{15, 19, 15, 1, 15, 36, 10416}, // Қ
{12, 14, 13, 1, 11, 21, 10452}, // қ
{16, 15, 16, 1, 15, 30, 10473}, // Ҝ
{14, 11, 14, 1, 11, 20, 10503}, // ҝ
{15, 16, 15, 0, 16, 30, 10523}, // Ҟ
{13, 12, 13, 0, 12, 20, 10553}, // ҟ
{17, 15, 17, 0, 15, 32, 10573}, // Ҡ
{14, 11, 14, 0, 11, 20, 10605}, // ҡ
{16, 19, 17, 1, 15, 38, 10625}, // Ң
{12, 14, 13, 1, 11, 21, 10663}, // ң
{17, 15, 18, 1, 15, 32, 10684}, // Ҥ
{13, 11, 14, 1, 11, 18, 10716}, // ҥ
{22, 19, 23, 1, 15, 53, 10734}, // Ҧ
{17, 15, 18, 1, 11, 32, 10787}, // ҧ
{16, 19, 17, 1, 15, 38, 10819}, // Ҩ
{13, 14, 13, 0, 11, 23, 10857}, // ҩ
{13, 20, 14, 1, 15, 33, 10880}, // Ҫ
{10, 15, 11, 0, 11, 19, 10913}, // ҫ
{13, 19, 13, 0, 15, 31, 10932}, // Ҭ
{11, 14, 11, 0, 11, 20, 10963}, // ҭ
{14, 15, 14, 0, 15, 27, 10983}, // Ү
{12, 15, 12, 0, 11, 23, 11010}, // ү
{14, 15, 14, 0, 15, 27, 11033}, // Ұ
{12, 15, 12, 0, 11, 23, 11060}, // ұ
{15, 19, 15, 0, 15, 36, 11083}, // Ҳ
{12, 14, 12, 0, 11, 21, 11119}, // ҳ
{20, 19, 20, 0, 15, 48, 11140}, // Ҵ
{15, 14, 15, 0, 11, 27, 11188}, // ҵ
{14, 19, 15, 1, 15, 34, 11215}, // Ҷ
{13, 14, 12, 0, 11, 23, 11249}, // ҷ
{12, 15, 14, 1, 15, 23, 11272}, // Ҹ
{11, 11, 12, 0, 11, 16, 11295}, // ҹ
{13, 15, 15, 1, 15, 25, 11311}, // Һ
{10, 16, 12, 1, 16, 20, 11336}, // һ
{18, 15, 18, 0, 15, 34, 11356}, // Ҽ
{14, 11, 15, 0, 11, 20, 11390}, // ҽ
{18, 19, 18, 0, 15, 43, 11410}, // Ҿ
{14, 14, 15, 0, 11, 25, 11453}, // ҿ
{4, 15, 7, 1, 15, 8, 11478}, // Ӏ
{21, 20, 21, 0, 20, 53, 11486}, // Ӂ
{18, 17, 18, 0, 17, 39, 11539}, // ӂ
{13, 19, 15, 1, 15, 31, 11578}, // Ӄ
{11, 15, 12, 1, 11, 21, 11609}, // ӄ
{18, 19, 17, 0, 15, 43, 11630}, // Ӆ
{14, 14, 14, 0, 11, 25, 11673}, // ӆ
{13, 19, 15, 1, 15, 31, 11698}, // Ӈ
{11, 15, 13, 1, 11, 21, 11729}, // ӈ
{16, 19, 17, 1, 15, 38, 11750}, // Ӊ
{12, 14, 13, 1, 11, 21, 11788}, // ӊ
{13, 19, 14, 0, 15, 31, 11809}, // Ӌ
{11, 14, 12, 0, 11, 20, 11840}, // ӌ
{19, 19, 20, 1, 15, 46, 11860}, // Ӎ
{16, 14, 17, 1, 11, 28, 11906}, // ӎ
{4, 15, 6, 1, 15, 8, 11934}, // ӏ
{15, 20, 15, 0, 20, 38, 11942}, // Ӑ
{11, 17, 12, 0, 17, 24, 11980}, // ӑ
{15, 19, 15, 0, 19, 36, 12004}, // Ӓ
{11, 16, 12, 0, 16, 22, 12040}, // ӓ
{21, 15, 21, 0, 15, 40, 12062}, // Ӕ
{18, 11, 18, 0, 11, 25, 12102}, // ӕ
{11, 20, 13, 1, 20, 28, 12127}, // Ӗ
{12, 17, 12, 0, 17, 26, 12155}, // ӗ
{14, 15, 15, 1, 15, 27, 12181}, // Ә
{12, 11, 12, 0, 11, 17, 12208}, // ә
{14, 19, 15, 1, 19, 34, 12225}, // Ӛ
{12, 16, 12, 0, 16, 24, 12259}, // ӛ
{21, 19, 21, 0, 19, 50, 12283}, // Ӝ
{18, 16, 18, 0, 16, 36, 12333}, // ӝ
{12, 20, 13, 0, 20, 30, 12369}, // Ӟ
{10, 16, 10, 0, 16, 20, 12399}, // ӟ
{12, 15, 13, 0, 15, 23, 12419}, // Ӡ
{10, 15, 11, 0, 11, 19, 12442}, // ӡ
{14, 18, 16, 1, 18, 32, 12461}, // Ӣ
{11, 15, 13, 1, 15, 21, 12493}, // ӣ
{14, 19, 16, 1, 19, 34, 12514}, // Ӥ
{11, 16, 13, 1, 16, 22, 12548}, // ӥ
{15, 19, 17, 1, 19, 36, 12570}, // Ӧ
{12, 16, 13, 0, 16, 24, 12606}, // ӧ
{15, 15, 17, 1, 15, 29, 12630}, // Ө
{12, 11, 13, 0, 11, 17, 12659}, // ө
{15, 19, 17, 1, 19, 36, 12676}, // Ӫ
{12, 16, 13, 0, 16, 24, 12712}, // ӫ
{14, 19, 14, 0, 19, 34, 12736}, // Ӭ
{11, 16, 11, 0, 16, 22, 12770}, // ӭ
{14, 18, 14, 0, 18, 32, 12792}, // Ӯ
{12, 19, 11, 0, 15, 29, 12824}, // ӯ
{14, 19, 14, 0, 19, 34, 12853}, // Ӱ
{12, 20, 11, 0, 16, 30, 12887}, // ӱ
{14, 21, 14, 0, 21, 37, 12917}, // Ӳ
{12, 21, 11, 0, 17, 32, 12954}, // ӳ
{13, 19, 14, 0, 19, 31, 12986}, // Ӵ
{11, 16, 12, 0, 16, 22, 13017}, // ӵ
{11, 19, 12, 1, 15, 27, 13039}, // Ӷ
{9, 14, 10, 1, 11, 16, 13066}, // ӷ
{17, 19, 19, 1, 19, 41, 13082}, // Ӹ
{15, 16, 17, 1, 16, 30, 13123}, // ӹ
{11, 3, 11, 0, 8, 5, 13153}, //
{21, 3, 21, 0, 8, 8, 13158}, // —
{21, 3, 21, 0, 8, 8, 13166}, // ―
{5, 6, 5, 0, 16, 4, 13174}, //
{5, 6, 5, 0, 16, 4, 13178}, //
{5, 6, 5, 0, 3, 4, 13182}, //
{10, 6, 10, 0, 16, 8, 13186}, // “
{9, 6, 10, 0, 16, 7, 13194}, // ”
{9, 6, 10, 0, 3, 7, 13201}, // „
{10, 18, 10, 0, 15, 23, 13208}, // †
{10, 18, 10, 0, 15, 23, 13231}, // ‡
{7, 6, 8, 0, 10, 6, 13254}, // •
{19, 4, 21, 1, 4, 10, 13260}, // …
{27, 15, 28, 0, 15, 51, 13270}, // ‰
{7, 11, 7, 0, 11, 10, 13321}, //
{7, 11, 7, 0, 11, 10, 13331}, //
{11, 15, 3, -4, 15, 21, 13341}, //
{12, 15, 12, 0, 15, 23, 13362}, // €
{12, 15, 12, 0, 15, 23, 13385}, // ₮
{12, 15, 12, 0, 15, 23, 13408}, // ₴
{13, 15, 12, 0, 15, 25, 13431}, // ₹
{12, 15, 13, 0, 15, 23, 13456}, // ∂
{15, 15, 15, 0, 15, 29, 13479}, // ∆
{13, 17, 15, 1, 15, 28, 13508}, // ∏
{11, 17, 11, 0, 15, 24, 13536}, // ∑
{10, 3, 12, 1, 8, 4, 13560}, //
{11, 15, 3, -4, 15, 21, 13564}, //
{5, 4, 5, 0, 9, 3, 13585}, // ∙
{14, 15, 13, 0, 15, 27, 13588}, // √
{13, 7, 13, 0, 10, 12, 13615}, // ∞
{9, 21, 8, 0, 16, 24, 13627}, // ∫
{12, 11, 12, 0, 12, 17, 13651}, // ≈
{10, 14, 12, 1, 14, 18, 13668}, // ≠
{10, 13, 12, 1, 13, 17, 13686}, // ≤
{10, 13, 12, 1, 13, 17, 13703}, // ≥
}; };
static const EpdUnicodeInterval ubuntu_bold_10Intervals[] = { static const EpdUnicodeInterval ubuntu_bold_10Intervals[] = {
{0x0, 0x0, 0x0}, {0x8, 0x9, 0x1}, {0xD, 0xD, 0x3}, {0x1D, 0x1D, 0x4}, {0x0, 0x0, 0x0}, {0x8, 0x9, 0x1}, {0xD, 0xD, 0x3}, {0x1D, 0x1D, 0x4},
{0x20, 0x7E, 0x5}, {0xA0, 0xFF, 0x64}, {0x100, 0x17F, 0xC4}, {0x311, 0x311, 0x144}, {0x20, 0x7E, 0x5}, {0xA0, 0xFF, 0x64}, {0x100, 0x17F, 0xC4}, {0x311, 0x311, 0x144},
{0x400, 0x45F, 0x145}, {0x462, 0x463, 0x1A5}, {0x472, 0x475, 0x1A7}, {0x48A, 0x4F9, 0x1AB}, {0x2013, 0x2015, 0x145}, {0x2018, 0x201A, 0x148}, {0x201C, 0x201E, 0x14B}, {0x2020, 0x2022, 0x14E},
{0x2013, 0x2015, 0x21B}, {0x2018, 0x201A, 0x21E}, {0x201C, 0x201E, 0x221}, {0x2020, 0x2022, 0x224}, {0x2026, 0x2026, 0x151}, {0x2030, 0x2030, 0x152}, {0x2039, 0x203A, 0x153}, {0x2044, 0x2044, 0x155},
{0x2026, 0x2026, 0x227}, {0x2030, 0x2030, 0x228}, {0x2039, 0x203A, 0x229}, {0x2044, 0x2044, 0x22B}, {0x20AC, 0x20AC, 0x156}, {0x20AE, 0x20AE, 0x157}, {0x20B4, 0x20B4, 0x158}, {0x20B9, 0x20B9, 0x159},
{0x20AC, 0x20AC, 0x22C}, {0x20AE, 0x20AE, 0x22D}, {0x20B4, 0x20B4, 0x22E}, {0x20B9, 0x20B9, 0x22F}, {0x2202, 0x2202, 0x15A}, {0x2206, 0x2206, 0x15B}, {0x220F, 0x220F, 0x15C}, {0x2211, 0x2212, 0x15D},
{0x2202, 0x2202, 0x230}, {0x2206, 0x2206, 0x231}, {0x220F, 0x220F, 0x232}, {0x2211, 0x2212, 0x233}, {0x2215, 0x2215, 0x15F}, {0x2219, 0x221A, 0x160}, {0x221E, 0x221E, 0x162}, {0x222B, 0x222B, 0x163},
{0x2215, 0x2215, 0x235}, {0x2219, 0x221A, 0x236}, {0x221E, 0x221E, 0x238}, {0x222B, 0x222B, 0x239}, {0x2248, 0x2248, 0x164}, {0x2260, 0x2260, 0x165}, {0x2264, 0x2265, 0x166},
{0x2248, 0x2248, 0x23A}, {0x2260, 0x2260, 0x23B}, {0x2264, 0x2265, 0x23C},
}; };
static const EpdFontData ubuntu_bold_10 = { static const EpdFontData ubuntu_bold_10 = {
ubuntu_bold_10Bitmaps, ubuntu_bold_10Glyphs, ubuntu_bold_10Intervals, 35, 24, 20, -4, false, ubuntu_bold_10Bitmaps, ubuntu_bold_10Glyphs, ubuntu_bold_10Intervals, 31, 24, 20, -4, false,
}; };

View File

@ -54,7 +54,7 @@ intervals = [
# (0x0370, 0x03FF), # (0x0370, 0x03FF),
### Cyrillic ### ### Cyrillic ###
# Russian, Ukrainian, Bulgarian, etc. # Russian, Ukrainian, Bulgarian, etc.
(0x0400, 0x04FF), # (0x0400, 0x04FF),
### Math Symbols (common subset) ### ### Math Symbols (common subset) ###
# General math operators # General math operators
(0x2200, 0x22FF), (0x2200, 0x22FF),

View File

@ -69,12 +69,11 @@ bool Epub::parseContentOpf(const std::string& contentOpfFilePath) {
// Grab data from opfParser into epub // Grab data from opfParser into epub
title = opfParser.title; title = opfParser.title;
if (!opfParser.coverItemId.empty() && opfParser.items.count(opfParser.coverItemId) > 0) {
coverImageItem = opfParser.items.at(opfParser.coverItemId);
}
if (!opfParser.tocNcxPath.empty()) { if (opfParser.items.count("ncx")) {
tocNcxItem = opfParser.tocNcxPath; tocNcxItem = opfParser.items.at("ncx");
} else if (opfParser.items.count("ncxtoc")) {
tocNcxItem = opfParser.items.at("ncxtoc");
} }
for (auto& spineRef : opfParser.spineRefs) { for (auto& spineRef : opfParser.spineRefs) {
@ -148,18 +147,6 @@ bool Epub::load() {
return false; return false;
} }
// determine size of spine items
size_t spineItemsCount = getSpineItemsCount();
size_t spineItemsSize = 0;
for (size_t i = 0; i < spineItemsCount; i++) {
std::string spineItem = getSpineItem(i);
size_t s = 0;
getItemSize(spineItem, &s);
spineItemsSize += s;
cumulativeSpineItemSize.emplace_back(spineItemsSize);
}
Serial.printf("[%lu] [EBP] Book size: %u\n", millis(), spineItemsSize);
Serial.printf("[%lu] [EBP] Loaded ePub: %s\n", millis(), filepath.c_str()); Serial.printf("[%lu] [EBP] Loaded ePub: %s\n", millis(), filepath.c_str());
return true; return true;
@ -267,8 +254,6 @@ bool Epub::getItemSize(const std::string& itemHref, size_t* size) const {
int Epub::getSpineItemsCount() const { return spine.size(); } int Epub::getSpineItemsCount() const { return spine.size(); }
size_t Epub::getCumulativeSpineItemSize(const int spineIndex) const { return cumulativeSpineItemSize.at(spineIndex); }
std::string& Epub::getSpineItem(const int spineIndex) { std::string& Epub::getSpineItem(const int spineIndex) {
if (spineIndex < 0 || spineIndex >= spine.size()) { if (spineIndex < 0 || spineIndex >= spine.size()) {
Serial.printf("[%lu] [EBP] getSpineItem index:%d is out of range\n", millis(), spineIndex); Serial.printf("[%lu] [EBP] getSpineItem index:%d is out of range\n", millis(), spineIndex);
@ -316,14 +301,3 @@ int Epub::getTocIndexForSpineIndex(const int spineIndex) const {
Serial.printf("[%lu] [EBP] TOC item not found\n", millis()); Serial.printf("[%lu] [EBP] TOC item not found\n", millis());
return -1; return -1;
} }
size_t Epub::getBookSize() const { return getCumulativeSpineItemSize(getSpineItemsCount() - 1); }
// Calculate progress in book
uint8_t Epub::calculateProgress(const int currentSpineIndex, const float currentSpineRead) {
size_t prevChapterSize = (currentSpineIndex >= 1) ? getCumulativeSpineItemSize(currentSpineIndex - 1) : 0;
size_t curChapterSize = getCumulativeSpineItemSize(currentSpineIndex) - prevChapterSize;
size_t bookSize = getBookSize();
size_t sectionProgSize = currentSpineRead * curChapterSize;
return round(static_cast<float>(prevChapterSize + sectionProgSize) / bookSize * 100.0);
}

View File

@ -20,8 +20,6 @@ class Epub {
std::string filepath; std::string filepath;
// the spine of the EPUB file // the spine of the EPUB file
std::vector<std::pair<std::string, std::string>> spine; std::vector<std::pair<std::string, std::string>> spine;
// the file size of the spine items (proxy to book progress)
std::vector<size_t> cumulativeSpineItemSize;
// the toc of the EPUB file // the toc of the EPUB file
std::vector<EpubTocEntry> toc; std::vector<EpubTocEntry> toc;
// the base path for items in the EPUB file // the base path for items in the EPUB file
@ -53,12 +51,8 @@ class Epub {
bool getItemSize(const std::string& itemHref, size_t* size) const; bool getItemSize(const std::string& itemHref, size_t* size) const;
std::string& getSpineItem(int spineIndex); std::string& getSpineItem(int spineIndex);
int getSpineItemsCount() const; int getSpineItemsCount() const;
size_t getCumulativeSpineItemSize(const int spineIndex) const; EpubTocEntry& getTocItem(int tocTndex);
EpubTocEntry& getTocItem(int tocIndex);
int getTocItemsCount() const; int getTocItemsCount() const;
int getSpineIndexForTocIndex(int tocIndex) const; int getSpineIndexForTocIndex(int tocIndex) const;
int getTocIndexForSpineIndex(int spineIndex) const; int getTocIndexForSpineIndex(int spineIndex) const;
size_t getBookSize() const;
uint8_t calculateProgress(const int currentSpineIndex, const float currentSpineRead);
}; };

View File

@ -3,9 +3,7 @@
#include <HardwareSerial.h> #include <HardwareSerial.h>
#include <Serialization.h> #include <Serialization.h>
namespace {
constexpr uint8_t PAGE_FILE_VERSION = 3; constexpr uint8_t PAGE_FILE_VERSION = 3;
}
void PageLine::render(GfxRenderer& renderer, const int fontId) { block->render(renderer, fontId, xPos, yPos); } void PageLine::render(GfxRenderer& renderer, const int fontId) { block->render(renderer, fontId, xPos, yPos); }

View File

@ -27,8 +27,6 @@ void ParsedText::layoutAndExtractLines(const GfxRenderer& renderer, const int fo
const size_t totalWordCount = words.size(); const size_t totalWordCount = words.size();
const int pageWidth = renderer.getScreenWidth() - horizontalMargin; const int pageWidth = renderer.getScreenWidth() - horizontalMargin;
const int spaceWidth = renderer.getSpaceWidth(fontId); const int spaceWidth = renderer.getSpaceWidth(fontId);
// width of 1em to indent first line of paragraph if Extra Spacing is enabled
const int indentWidth = (!extraParagraphSpacing) ? 1 * renderer.getTextWidth(fontId, "m", REGULAR) : 0;
std::vector<uint16_t> wordWidths; std::vector<uint16_t> wordWidths;
wordWidths.reserve(totalWordCount); wordWidths.reserve(totalWordCount);
@ -53,7 +51,7 @@ void ParsedText::layoutAndExtractLines(const GfxRenderer& renderer, const int fo
ans[totalWordCount - 1] = totalWordCount - 1; ans[totalWordCount - 1] = totalWordCount - 1;
for (int i = totalWordCount - 2; i >= 0; --i) { for (int i = totalWordCount - 2; i >= 0; --i) {
int currlen = -spaceWidth + indentWidth; int currlen = -spaceWidth;
dp[i] = MAX_COST; dp[i] = MAX_COST;
for (size_t j = i; j < totalWordCount; ++j) { for (size_t j = i; j < totalWordCount; ++j) {
@ -124,11 +122,7 @@ void ParsedText::layoutAndExtractLines(const GfxRenderer& renderer, const int fo
} }
// Calculate spacing // Calculate spacing
int spareSpace = pageWidth - lineWordWidthSum; const int spareSpace = pageWidth - lineWordWidthSum;
if (wordWidthIndex == 0) {
spareSpace -= indentWidth;
}
int spacing = spaceWidth; int spacing = spaceWidth;
const bool isLastLine = lineBreak == totalWordCount; const bool isLastLine = lineBreak == totalWordCount;
@ -137,8 +131,7 @@ void ParsedText::layoutAndExtractLines(const GfxRenderer& renderer, const int fo
} }
// Calculate initial x position // Calculate initial x position
uint16_t xpos = (wordWidthIndex == 0) ? indentWidth : 0; uint16_t xpos = 0;
if (style == TextBlock::RIGHT_ALIGN) { if (style == TextBlock::RIGHT_ALIGN) {
xpos = spareSpace - (lineWordCount - 1) * spaceWidth; xpos = spareSpace - (lineWordCount - 1) * spaceWidth;
} else if (style == TextBlock::CENTER_ALIGN) { } else if (style == TextBlock::CENTER_ALIGN) {

View File

@ -16,11 +16,9 @@ class ParsedText {
std::list<std::string> words; std::list<std::string> words;
std::list<EpdFontStyle> wordStyles; std::list<EpdFontStyle> wordStyles;
TextBlock::BLOCK_STYLE style; TextBlock::BLOCK_STYLE style;
bool extraParagraphSpacing;
public: public:
explicit ParsedText(const TextBlock::BLOCK_STYLE style, const bool extraParagraphSpacing) explicit ParsedText(const TextBlock::BLOCK_STYLE style) : style(style) {}
: style(style), extraParagraphSpacing(extraParagraphSpacing) {}
~ParsedText() = default; ~ParsedText() = default;
void addWord(std::string word, EpdFontStyle fontStyle); void addWord(std::string word, EpdFontStyle fontStyle);

View File

@ -9,9 +9,7 @@
#include "Page.h" #include "Page.h"
#include "parsers/ChapterHtmlSlimParser.h" #include "parsers/ChapterHtmlSlimParser.h"
namespace { constexpr uint8_t SECTION_FILE_VERSION = 4;
constexpr uint8_t SECTION_FILE_VERSION = 5;
}
void Section::onPageComplete(std::unique_ptr<Page> page) { void Section::onPageComplete(std::unique_ptr<Page> page) {
const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin"; const auto filePath = cachePath + "/page_" + std::to_string(pageCount) + ".bin";
@ -26,8 +24,7 @@ void Section::onPageComplete(std::unique_ptr<Page> page) {
} }
void Section::writeCacheMetadata(const int fontId, const float lineCompression, const int marginTop, void Section::writeCacheMetadata(const int fontId, const float lineCompression, const int marginTop,
const int marginRight, const int marginBottom, const int marginLeft, const int marginRight, const int marginBottom, const int marginLeft) const {
const bool extraParagraphSpacing) const {
std::ofstream outputFile(("/sd" + cachePath + "/section.bin").c_str()); std::ofstream outputFile(("/sd" + cachePath + "/section.bin").c_str());
serialization::writePod(outputFile, SECTION_FILE_VERSION); serialization::writePod(outputFile, SECTION_FILE_VERSION);
serialization::writePod(outputFile, fontId); serialization::writePod(outputFile, fontId);
@ -36,14 +33,12 @@ void Section::writeCacheMetadata(const int fontId, const float lineCompression,
serialization::writePod(outputFile, marginRight); serialization::writePod(outputFile, marginRight);
serialization::writePod(outputFile, marginBottom); serialization::writePod(outputFile, marginBottom);
serialization::writePod(outputFile, marginLeft); serialization::writePod(outputFile, marginLeft);
serialization::writePod(outputFile, extraParagraphSpacing);
serialization::writePod(outputFile, pageCount); serialization::writePod(outputFile, pageCount);
outputFile.close(); outputFile.close();
} }
bool Section::loadCacheMetadata(const int fontId, const float lineCompression, const int marginTop, bool Section::loadCacheMetadata(const int fontId, const float lineCompression, const int marginTop,
const int marginRight, const int marginBottom, const int marginLeft, const int marginRight, const int marginBottom, const int marginLeft) {
const bool extraParagraphSpacing) {
if (!SD.exists(cachePath.c_str())) { if (!SD.exists(cachePath.c_str())) {
return false; return false;
} }
@ -68,18 +63,15 @@ bool Section::loadCacheMetadata(const int fontId, const float lineCompression, c
int fileFontId, fileMarginTop, fileMarginRight, fileMarginBottom, fileMarginLeft; int fileFontId, fileMarginTop, fileMarginRight, fileMarginBottom, fileMarginLeft;
float fileLineCompression; float fileLineCompression;
bool fileExtraParagraphSpacing;
serialization::readPod(inputFile, fileFontId); serialization::readPod(inputFile, fileFontId);
serialization::readPod(inputFile, fileLineCompression); serialization::readPod(inputFile, fileLineCompression);
serialization::readPod(inputFile, fileMarginTop); serialization::readPod(inputFile, fileMarginTop);
serialization::readPod(inputFile, fileMarginRight); serialization::readPod(inputFile, fileMarginRight);
serialization::readPod(inputFile, fileMarginBottom); serialization::readPod(inputFile, fileMarginBottom);
serialization::readPod(inputFile, fileMarginLeft); serialization::readPod(inputFile, fileMarginLeft);
serialization::readPod(inputFile, fileExtraParagraphSpacing);
if (fontId != fileFontId || lineCompression != fileLineCompression || marginTop != fileMarginTop || if (fontId != fileFontId || lineCompression != fileLineCompression || marginTop != fileMarginTop ||
marginRight != fileMarginRight || marginBottom != fileMarginBottom || marginLeft != fileMarginLeft || marginRight != fileMarginRight || marginBottom != fileMarginBottom || marginLeft != fileMarginLeft) {
extraParagraphSpacing != fileExtraParagraphSpacing) {
inputFile.close(); inputFile.close();
Serial.printf("[%lu] [SCT] Deserialization failed: Parameters do not match\n", millis()); Serial.printf("[%lu] [SCT] Deserialization failed: Parameters do not match\n", millis());
clearCache(); clearCache();
@ -115,8 +107,7 @@ bool Section::clearCache() const {
} }
bool Section::persistPageDataToSD(const int fontId, const float lineCompression, const int marginTop, bool Section::persistPageDataToSD(const int fontId, const float lineCompression, const int marginTop,
const int marginRight, const int marginBottom, const int marginLeft, const int marginRight, const int marginBottom, const int marginLeft) {
const bool extraParagraphSpacing) {
const auto localPath = epub->getSpineItem(spineIndex); const auto localPath = epub->getSpineItem(spineIndex);
// TODO: Should we get rid of this file all together? // TODO: Should we get rid of this file all together?
@ -137,7 +128,7 @@ bool Section::persistPageDataToSD(const int fontId, const float lineCompression,
const auto sdTmpHtmlPath = "/sd" + tmpHtmlPath; const auto sdTmpHtmlPath = "/sd" + tmpHtmlPath;
ChapterHtmlSlimParser visitor(sdTmpHtmlPath.c_str(), renderer, fontId, lineCompression, marginTop, marginRight, ChapterHtmlSlimParser visitor(sdTmpHtmlPath.c_str(), renderer, fontId, lineCompression, marginTop, marginRight,
marginBottom, marginLeft, extraParagraphSpacing, marginBottom, marginLeft,
[this](std::unique_ptr<Page> page) { this->onPageComplete(std::move(page)); }); [this](std::unique_ptr<Page> page) { this->onPageComplete(std::move(page)); });
success = visitor.parseAndBuildPages(); success = visitor.parseAndBuildPages();
@ -147,7 +138,7 @@ bool Section::persistPageDataToSD(const int fontId, const float lineCompression,
return false; return false;
} }
writeCacheMetadata(fontId, lineCompression, marginTop, marginRight, marginBottom, marginLeft, extraParagraphSpacing); writeCacheMetadata(fontId, lineCompression, marginTop, marginRight, marginBottom, marginLeft);
return true; return true;
} }

View File

@ -13,7 +13,7 @@ class Section {
std::string cachePath; std::string cachePath;
void writeCacheMetadata(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom, void writeCacheMetadata(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom,
int marginLeft, bool extraParagraphSpacing) const; int marginLeft) const;
void onPageComplete(std::unique_ptr<Page> page); void onPageComplete(std::unique_ptr<Page> page);
public: public:
@ -26,10 +26,10 @@ class Section {
} }
~Section() = default; ~Section() = default;
bool loadCacheMetadata(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom, bool loadCacheMetadata(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom,
int marginLeft, bool extraParagraphSpacing); int marginLeft);
void setupCacheDir() const; void setupCacheDir() const;
bool clearCache() const; bool clearCache() const;
bool persistPageDataToSD(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom, bool persistPageDataToSD(int fontId, float lineCompression, int marginTop, int marginRight, int marginBottom,
int marginLeft, bool extraParagraphSpacing); int marginLeft);
std::unique_ptr<Page> loadPageFromSD() const; std::unique_ptr<Page> loadPageFromSD() const;
}; };

View File

@ -25,7 +25,7 @@ constexpr int NUM_IMAGE_TAGS = sizeof(IMAGE_TAGS) / sizeof(IMAGE_TAGS[0]);
const char* SKIP_TAGS[] = {"head", "table"}; const char* SKIP_TAGS[] = {"head", "table"};
constexpr int NUM_SKIP_TAGS = sizeof(SKIP_TAGS) / sizeof(SKIP_TAGS[0]); constexpr int NUM_SKIP_TAGS = sizeof(SKIP_TAGS) / sizeof(SKIP_TAGS[0]);
bool isWhitespace(const char c) { return c == ' ' || c == '\r' || c == '\n' || c == '\t'; } bool isWhitespace(const char c) { return c == ' ' || c == '\r' || c == '\n'; }
// given the start and end of a tag, check to see if it matches a known tag // given the start and end of a tag, check to see if it matches a known tag
bool matches(const char* tag_name, const char* possible_tags[], const int possible_tag_count) { bool matches(const char* tag_name, const char* possible_tags[], const int possible_tag_count) {
@ -48,7 +48,7 @@ void ChapterHtmlSlimParser::startNewTextBlock(const TextBlock::BLOCK_STYLE style
makePages(); makePages();
} }
currentTextBlock.reset(new ParsedText(style, extraParagraphSpacing)); currentTextBlock.reset(new ParsedText(style));
} }
void XMLCALL ChapterHtmlSlimParser::startElement(void* userData, const XML_Char* name, const XML_Char** atts) { void XMLCALL ChapterHtmlSlimParser::startElement(void* userData, const XML_Char* name, const XML_Char** atts) {
@ -274,8 +274,6 @@ void ChapterHtmlSlimParser::makePages() {
currentTextBlock->layoutAndExtractLines( currentTextBlock->layoutAndExtractLines(
renderer, fontId, marginLeft + marginRight, renderer, fontId, marginLeft + marginRight,
[this](const std::shared_ptr<TextBlock>& textBlock) { addLineToPage(textBlock); }); [this](const std::shared_ptr<TextBlock>& textBlock) { addLineToPage(textBlock); });
// Extra paragraph spacing if enabled // Extra paragrpah spacing
if (extraParagraphSpacing) { currentPageNextY += lineHeight / 2;
currentPageNextY += lineHeight / 2;
}
} }

View File

@ -35,7 +35,6 @@ class ChapterHtmlSlimParser {
int marginRight; int marginRight;
int marginBottom; int marginBottom;
int marginLeft; int marginLeft;
bool extraParagraphSpacing;
void startNewTextBlock(TextBlock::BLOCK_STYLE style); void startNewTextBlock(TextBlock::BLOCK_STYLE style);
void makePages(); void makePages();
@ -47,7 +46,7 @@ class ChapterHtmlSlimParser {
public: public:
explicit ChapterHtmlSlimParser(const char* filepath, GfxRenderer& renderer, const int fontId, explicit ChapterHtmlSlimParser(const char* filepath, GfxRenderer& renderer, const int fontId,
const float lineCompression, const int marginTop, const int marginRight, const float lineCompression, const int marginTop, const int marginRight,
const int marginBottom, const int marginLeft, const bool extraParagraphSpacing, const int marginBottom, const int marginLeft,
const std::function<void(std::unique_ptr<Page>)>& completePageFn) const std::function<void(std::unique_ptr<Page>)>& completePageFn)
: filepath(filepath), : filepath(filepath),
renderer(renderer), renderer(renderer),
@ -57,7 +56,6 @@ class ChapterHtmlSlimParser {
marginRight(marginRight), marginRight(marginRight),
marginBottom(marginBottom), marginBottom(marginBottom),
marginLeft(marginLeft), marginLeft(marginLeft),
extraParagraphSpacing(extraParagraphSpacing),
completePageFn(completePageFn) {} completePageFn(completePageFn) {}
~ChapterHtmlSlimParser() = default; ~ChapterHtmlSlimParser() = default;
bool parseAndBuildPages(); bool parseAndBuildPages();

View File

@ -3,10 +3,6 @@
#include <HardwareSerial.h> #include <HardwareSerial.h>
#include <ZipFile.h> #include <ZipFile.h>
namespace {
constexpr const char MEDIA_TYPE_NCX[] = "application/x-dtbncx+xml";
}
bool ContentOpfParser::setup() { bool ContentOpfParser::setup() {
parser = XML_ParserCreate(nullptr); parser = XML_ParserCreate(nullptr);
if (!parser) { if (!parser) {
@ -94,49 +90,23 @@ void XMLCALL ContentOpfParser::startElement(void* userData, const XML_Char* name
return; return;
} }
if (self->state == IN_METADATA && (strcmp(name, "meta") == 0 || strcmp(name, "opf:meta") == 0)) { // TODO: Support book cover
bool isCover = false; // if (self->state == IN_METADATA && (strcmp(name, "meta") == 0 || strcmp(name, "opf:meta") == 0)) {
std::string coverItemId; // }
for (int i = 0; atts[i]; i += 2) {
if (strcmp(atts[i], "name") == 0 && strcmp(atts[i + 1], "cover") == 0) {
isCover = true;
} else if (strcmp(atts[i], "content") == 0) {
coverItemId = atts[i + 1];
}
}
if (isCover) {
self->coverItemId = coverItemId;
}
return;
}
if (self->state == IN_MANIFEST && (strcmp(name, "item") == 0 || strcmp(name, "opf:item") == 0)) { if (self->state == IN_MANIFEST && (strcmp(name, "item") == 0 || strcmp(name, "opf:item") == 0)) {
std::string itemId; std::string itemId;
std::string href; std::string href;
std::string mediaType;
for (int i = 0; atts[i]; i += 2) { for (int i = 0; atts[i]; i += 2) {
if (strcmp(atts[i], "id") == 0) { if (strcmp(atts[i], "id") == 0) {
itemId = atts[i + 1]; itemId = atts[i + 1];
} else if (strcmp(atts[i], "href") == 0) { } else if (strcmp(atts[i], "href") == 0) {
href = self->baseContentPath + atts[i + 1]; href = self->baseContentPath + atts[i + 1];
} else if (strcmp(atts[i], "media-type") == 0) {
mediaType = atts[i + 1];
} }
} }
self->items[itemId] = href; self->items[itemId] = href;
if (mediaType == MEDIA_TYPE_NCX) {
if (self->tocNcxPath.empty()) {
self->tocNcxPath = href;
} else {
Serial.printf("[%lu] [COF] Warning: Multiple NCX files found in manifest. Ignoring duplicate: %s\n", millis(),
href.c_str());
}
}
return; return;
} }

View File

@ -28,7 +28,6 @@ class ContentOpfParser final : public Print {
public: public:
std::string title; std::string title;
std::string tocNcxPath; std::string tocNcxPath;
std::string coverItemId;
std::map<std::string, std::string> items; std::map<std::string, std::string> items;
std::vector<std::string> spineRefs; std::vector<std::string> spineRefs;

View File

@ -165,19 +165,13 @@ void GfxRenderer::displayBuffer(const EInkDisplay::RefreshMode refreshMode) cons
einkDisplay.displayBuffer(refreshMode); einkDisplay.displayBuffer(refreshMode);
} }
void GfxRenderer::displayWindow(const int x, const int y, const int width, const int height) const { // TODO: Support partial window update
// Rotate coordinates from portrait (480x800) to landscape (800x480) // void GfxRenderer::flushArea(const int x, const int y, const int width, const int height) const {
// Rotation: 90 degrees clockwise // const int rotatedX = y;
// Portrait coordinates: (x, y) with dimensions (width, height) // const int rotatedY = EInkDisplay::DISPLAY_HEIGHT - 1 - x;
// Landscape coordinates: (rotatedX, rotatedY) with dimensions (rotatedWidth, rotatedHeight) //
// einkDisplay.displayBuffer(EInkDisplay::FAST_REFRESH, rotatedX, rotatedY, height, width);
const int rotatedX = y; // }
const int rotatedY = EInkDisplay::DISPLAY_HEIGHT - 1 - x - width + 1;
const int rotatedWidth = height;
const int rotatedHeight = width;
einkDisplay.displayWindow(rotatedX, rotatedY, rotatedWidth, rotatedHeight);
}
// Note: Internal driver treats screen in command orientation, this library treats in portrait orientation // Note: Internal driver treats screen in command orientation, this library treats in portrait orientation
int GfxRenderer::getScreenWidth() { return EInkDisplay::DISPLAY_HEIGHT; } int GfxRenderer::getScreenWidth() { return EInkDisplay::DISPLAY_HEIGHT; }
@ -203,7 +197,7 @@ int GfxRenderer::getLineHeight(const int fontId) const {
uint8_t* GfxRenderer::getFrameBuffer() const { return einkDisplay.getFrameBuffer(); } uint8_t* GfxRenderer::getFrameBuffer() const { return einkDisplay.getFrameBuffer(); }
size_t GfxRenderer::getBufferSize() { return EInkDisplay::BUFFER_SIZE; } void GfxRenderer::swapBuffers() const { einkDisplay.swapBuffers(); }
void GfxRenderer::grayscaleRevert() const { einkDisplay.grayscaleRevert(); } void GfxRenderer::grayscaleRevert() const { einkDisplay.grayscaleRevert(); }
@ -213,90 +207,6 @@ void GfxRenderer::copyGrayscaleMsbBuffers() const { einkDisplay.copyGrayscaleMsb
void GfxRenderer::displayGrayBuffer() const { einkDisplay.displayGrayBuffer(); } void GfxRenderer::displayGrayBuffer() const { einkDisplay.displayGrayBuffer(); }
void GfxRenderer::freeBwBufferChunks() {
for (auto& bwBufferChunk : bwBufferChunks) {
if (bwBufferChunk) {
free(bwBufferChunk);
bwBufferChunk = nullptr;
}
}
}
/**
* This should be called before grayscale buffers are populated.
* A `restoreBwBuffer` call should always follow the grayscale render if this method was called.
* Uses chunked allocation to avoid needing 48KB of contiguous memory.
*/
void GfxRenderer::storeBwBuffer() {
const uint8_t* frameBuffer = einkDisplay.getFrameBuffer();
// Allocate and copy each chunk
for (size_t i = 0; i < BW_BUFFER_NUM_CHUNKS; i++) {
// Check if any chunks are already allocated
if (bwBufferChunks[i]) {
Serial.printf("[%lu] [GFX] !! BW buffer chunk %zu already stored - this is likely a bug, freeing chunk\n",
millis(), i);
free(bwBufferChunks[i]);
bwBufferChunks[i] = nullptr;
}
const size_t offset = i * BW_BUFFER_CHUNK_SIZE;
bwBufferChunks[i] = static_cast<uint8_t*>(malloc(BW_BUFFER_CHUNK_SIZE));
if (!bwBufferChunks[i]) {
Serial.printf("[%lu] [GFX] !! Failed to allocate BW buffer chunk %zu (%zu bytes)\n", millis(), i,
BW_BUFFER_CHUNK_SIZE);
// Free previously allocated chunks
freeBwBufferChunks();
return;
}
memcpy(bwBufferChunks[i], frameBuffer + offset, BW_BUFFER_CHUNK_SIZE);
}
Serial.printf("[%lu] [GFX] Stored BW buffer in %zu chunks (%zu bytes each)\n", millis(), BW_BUFFER_NUM_CHUNKS,
BW_BUFFER_CHUNK_SIZE);
}
/**
* This can only be called if `storeBwBuffer` was called prior to the grayscale render.
* It should be called to restore the BW buffer state after grayscale rendering is complete.
* Uses chunked restoration to match chunked storage.
*/
void GfxRenderer::restoreBwBuffer() {
// Check if any all chunks are allocated
bool missingChunks = false;
for (const auto& bwBufferChunk : bwBufferChunks) {
if (!bwBufferChunk) {
missingChunks = true;
break;
}
}
if (missingChunks) {
freeBwBufferChunks();
return;
}
uint8_t* frameBuffer = einkDisplay.getFrameBuffer();
for (size_t i = 0; i < BW_BUFFER_NUM_CHUNKS; i++) {
// Check if chunk is missing
if (!bwBufferChunks[i]) {
Serial.printf("[%lu] [GFX] !! BW buffer chunks not stored - this is likely a bug\n", millis());
freeBwBufferChunks();
return;
}
const size_t offset = i * BW_BUFFER_CHUNK_SIZE;
memcpy(frameBuffer + offset, bwBufferChunks[i], BW_BUFFER_CHUNK_SIZE);
}
einkDisplay.cleanupGrayscaleBuffers(frameBuffer);
freeBwBufferChunks();
Serial.printf("[%lu] [GFX] Restored and freed BW buffer chunks\n", millis());
}
void GfxRenderer::renderChar(const EpdFontFamily& fontFamily, const uint32_t cp, int* x, const int* y, void GfxRenderer::renderChar(const EpdFontFamily& fontFamily, const uint32_t cp, int* x, const int* y,
const bool pixelState, const EpdFontStyle style) const { const bool pixelState, const EpdFontStyle style) const {
const EpdGlyph* glyph = fontFamily.getGlyph(cp, style); const EpdGlyph* glyph = fontFamily.getGlyph(cp, style);
@ -330,20 +240,14 @@ void GfxRenderer::renderChar(const EpdFontFamily& fontFamily, const uint32_t cp,
if (is2Bit) { if (is2Bit) {
const uint8_t byte = bitmap[pixelPosition / 4]; const uint8_t byte = bitmap[pixelPosition / 4];
const uint8_t bit_index = (3 - pixelPosition % 4) * 2; const uint8_t bit_index = (3 - pixelPosition % 4) * 2;
// the direct bit from the font is 0 -> white, 1 -> light gray, 2 -> dark gray, 3 -> black
// we swap this to better match the way images and screen think about colors:
// 0 -> black, 1 -> dark grey, 2 -> light grey, 3 -> white
const uint8_t bmpVal = 3 - (byte >> bit_index) & 0x3;
if (renderMode == BW && bmpVal < 3) { const uint8_t val = (byte >> bit_index) & 0x3;
// Black (also paints over the grays in BW mode) if (fontRenderMode == BW && val > 0) {
drawPixel(screenX, screenY, pixelState); drawPixel(screenX, screenY, pixelState);
} else if (renderMode == GRAYSCALE_MSB && (bmpVal == 1 || bmpVal == 2)) { } else if (fontRenderMode == GRAYSCALE_MSB && val == 1) {
// Light gray (also mark the MSB if it's going to be a dark gray too) // TODO: Not sure how this anti-aliasing goes on black backgrounds
// We have to flag pixels in reverse for the gray buffers, as 0 leave alone, 1 update
drawPixel(screenX, screenY, false); drawPixel(screenX, screenY, false);
} else if (renderMode == GRAYSCALE_LSB && bmpVal == 1) { } else if (fontRenderMode == GRAYSCALE_LSB && val == 2) {
// Dark gray
drawPixel(screenX, screenY, false); drawPixel(screenX, screenY, false);
} }
} else { } else {

View File

@ -8,24 +8,17 @@
class GfxRenderer { class GfxRenderer {
public: public:
enum RenderMode { BW, GRAYSCALE_LSB, GRAYSCALE_MSB }; enum FontRenderMode { BW, GRAYSCALE_LSB, GRAYSCALE_MSB };
private: private:
static constexpr size_t BW_BUFFER_CHUNK_SIZE = 8000; // 8KB chunks to allow for non-contiguous memory
static constexpr size_t BW_BUFFER_NUM_CHUNKS = EInkDisplay::BUFFER_SIZE / BW_BUFFER_CHUNK_SIZE;
static_assert(BW_BUFFER_CHUNK_SIZE * BW_BUFFER_NUM_CHUNKS == EInkDisplay::BUFFER_SIZE,
"BW buffer chunking does not line up with display buffer size");
EInkDisplay& einkDisplay; EInkDisplay& einkDisplay;
RenderMode renderMode; FontRenderMode fontRenderMode;
uint8_t* bwBufferChunks[BW_BUFFER_NUM_CHUNKS] = {nullptr};
std::map<int, EpdFontFamily> fontMap; std::map<int, EpdFontFamily> fontMap;
void renderChar(const EpdFontFamily& fontFamily, uint32_t cp, int* x, const int* y, bool pixelState, void renderChar(const EpdFontFamily& fontFamily, uint32_t cp, int* x, const int* y, bool pixelState,
EpdFontStyle style) const; EpdFontStyle style) const;
void freeBwBufferChunks();
public: public:
explicit GfxRenderer(EInkDisplay& einkDisplay) : einkDisplay(einkDisplay), renderMode(BW) {} explicit GfxRenderer(EInkDisplay& einkDisplay) : einkDisplay(einkDisplay), fontRenderMode(BW) {}
~GfxRenderer() = default; ~GfxRenderer() = default;
// Setup // Setup
@ -35,8 +28,6 @@ class GfxRenderer {
static int getScreenWidth(); static int getScreenWidth();
static int getScreenHeight(); static int getScreenHeight();
void displayBuffer(EInkDisplay::RefreshMode refreshMode = EInkDisplay::FAST_REFRESH) const; void displayBuffer(EInkDisplay::RefreshMode refreshMode = EInkDisplay::FAST_REFRESH) const;
// EXPERIMENTAL: Windowed update - display only a rectangular region (portrait coordinates)
void displayWindow(int x, int y, int width, int height) const;
void invertScreen() const; void invertScreen() const;
void clearScreen(uint8_t color = 0xFF) const; void clearScreen(uint8_t color = 0xFF) const;
@ -52,19 +43,15 @@ class GfxRenderer {
int getTextWidth(int fontId, const char* text, EpdFontStyle style = REGULAR) const; int getTextWidth(int fontId, const char* text, EpdFontStyle style = REGULAR) const;
void drawCenteredText(int fontId, int y, const char* text, bool black = true, EpdFontStyle style = REGULAR) const; void drawCenteredText(int fontId, int y, const char* text, bool black = true, EpdFontStyle style = REGULAR) const;
void drawText(int fontId, int x, int y, const char* text, bool black = true, EpdFontStyle style = REGULAR) const; void drawText(int fontId, int x, int y, const char* text, bool black = true, EpdFontStyle style = REGULAR) const;
void setFontRenderMode(const FontRenderMode mode) { this->fontRenderMode = mode; }
int getSpaceWidth(int fontId) const; int getSpaceWidth(int fontId) const;
int getLineHeight(int fontId) const; int getLineHeight(int fontId) const;
// Grayscale functions // Low level functions
void setRenderMode(const RenderMode mode) { this->renderMode = mode; } uint8_t* getFrameBuffer() const;
void swapBuffers() const;
void grayscaleRevert() const;
void copyGrayscaleLsbBuffers() const; void copyGrayscaleLsbBuffers() const;
void copyGrayscaleMsbBuffers() const; void copyGrayscaleMsbBuffers() const;
void displayGrayBuffer() const; void displayGrayBuffer() const;
void storeBwBuffer();
void restoreBwBuffer();
// Low level functions
uint8_t* getFrameBuffer() const;
static size_t getBufferSize();
void grayscaleRevert() const;
}; };

@ -1 +1 @@
Subproject commit 98a5aa1f8969ccd317c9b45bf0fa84b6c82e167f Subproject commit 7e0dce916706da7d80ec225fade191aea6b87fb6

View File

@ -1,5 +1,5 @@
[platformio] [platformio]
crosspoint_version = 0.6.0 crosspoint_version = 0.5.1
default_envs = default default_envs = default
[base] [base]
@ -8,9 +8,6 @@ board = esp32-c3-devkitm-1
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 921600 upload_speed = 921600
check_tool = cppcheck
check_skip_packages = yes
check_severity = medium, high
board_upload.flash_size = 16MB board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216 board_upload.maximum_size = 16777216
@ -20,7 +17,6 @@ build_flags =
-DARDUINO_USB_MODE=1 -DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_CDC_ON_BOOT=1
-DMINIZ_NO_ZLIB_COMPATIBLE_NAMES=1 -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES=1
-DEINK_DISPLAY_SINGLE_BUFFER_MODE=1
# https://libexpat.github.io/doc/api/latest/#XML_GE # https://libexpat.github.io/doc/api/latest/#XML_GE
-DXML_GE=0 -DXML_GE=0
-DXML_CONTEXT_BYTES=1024 -DXML_CONTEXT_BYTES=1024

View File

@ -1,67 +0,0 @@
#include "CrossPointSettings.h"
#include <HardwareSerial.h>
#include <SD.h>
#include <Serialization.h>
#include <cstdint>
#include <fstream>
// Initialize the static instance
CrossPointSettings CrossPointSettings::instance;
namespace {
constexpr uint8_t SETTINGS_FILE_VERSION = 1;
constexpr uint8_t SETTINGS_COUNT = 2;
constexpr char SETTINGS_FILE[] = "/sd/.crosspoint/settings.bin";
} // namespace
bool CrossPointSettings::saveToFile() const {
// Make sure the directory exists
SD.mkdir("/.crosspoint");
std::ofstream outputFile(SETTINGS_FILE);
serialization::writePod(outputFile, SETTINGS_FILE_VERSION);
serialization::writePod(outputFile, SETTINGS_COUNT);
serialization::writePod(outputFile, whiteSleepScreen);
serialization::writePod(outputFile, extraParagraphSpacing);
outputFile.close();
Serial.printf("[%lu] [CPS] Settings saved to file\n", millis());
return true;
}
bool CrossPointSettings::loadFromFile() {
if (!SD.exists(SETTINGS_FILE + 3)) { // +3 to skip "/sd" prefix
Serial.printf("[%lu] [CPS] Settings file does not exist, using defaults\n", millis());
return false;
}
std::ifstream inputFile(SETTINGS_FILE);
uint8_t version;
serialization::readPod(inputFile, version);
if (version != SETTINGS_FILE_VERSION) {
Serial.printf("[%lu] [CPS] Deserialization failed: Unknown version %u\n", millis(), version);
inputFile.close();
return false;
}
uint8_t fileSettingsCount = 0;
serialization::readPod(inputFile, fileSettingsCount);
// load settings that exist
switch (fileSettingsCount) {
case 1:
serialization::readPod(inputFile, whiteSleepScreen);
break;
case 2:
serialization::readPod(inputFile, whiteSleepScreen);
serialization::readPod(inputFile, extraParagraphSpacing);
break;
}
inputFile.close();
Serial.printf("[%lu] [CPS] Settings loaded from file\n", millis());
return true;
}

View File

@ -1,34 +0,0 @@
#pragma once
#include <cstdint>
#include <iosfwd>
class CrossPointSettings {
private:
// Private constructor for singleton
CrossPointSettings() = default;
// Static instance
static CrossPointSettings instance;
public:
// Delete copy constructor and assignment
CrossPointSettings(const CrossPointSettings&) = delete;
CrossPointSettings& operator=(const CrossPointSettings&) = delete;
// Sleep screen settings
uint8_t whiteSleepScreen = 0;
// Text rendering settings
uint8_t extraParagraphSpacing = 1;
~CrossPointSettings() = default;
// Get singleton instance
static CrossPointSettings& getInstance() { return instance; }
bool saveToFile() const;
bool loadFromFile();
};
// Helper macro to access settings
#define SETTINGS CrossPointSettings::getInstance()

View File

@ -6,12 +6,8 @@
#include <fstream> #include <fstream>
namespace {
constexpr uint8_t STATE_FILE_VERSION = 1; constexpr uint8_t STATE_FILE_VERSION = 1;
constexpr char STATE_FILE[] = "/sd/.crosspoint/state.bin"; constexpr char STATE_FILE[] = "/sd/.crosspoint/state.bin";
} // namespace
CrossPointState CrossPointState::instance;
bool CrossPointState::saveToFile() const { bool CrossPointState::saveToFile() const {
std::ofstream outputFile(STATE_FILE); std::ofstream outputFile(STATE_FILE);

View File

@ -3,20 +3,11 @@
#include <string> #include <string>
class CrossPointState { class CrossPointState {
// Static instance
static CrossPointState instance;
public: public:
std::string openEpubPath; std::string openEpubPath;
~CrossPointState() = default; ~CrossPointState() = default;
// Get singleton instance
static CrossPointState& getInstance() { return instance; }
bool saveToFile() const; bool saveToFile() const;
bool loadFromFile(); bool loadFromFile();
}; };
// Helper macro to access settings
#define APP_STATE CrossPointState::getInstance()

View File

@ -1,18 +0,0 @@
#pragma once
#include <InputManager.h>
class GfxRenderer;
class Activity {
protected:
GfxRenderer& renderer;
InputManager& inputManager;
public:
explicit Activity(GfxRenderer& renderer, InputManager& inputManager)
: renderer(renderer), inputManager(inputManager) {}
virtual ~Activity() = default;
virtual void onEnter() {}
virtual void onExit() {}
virtual void loop() {}
};

View File

@ -1,21 +0,0 @@
#include "ActivityWithSubactivity.h"
void ActivityWithSubactivity::exitActivity() {
if (subActivity) {
subActivity->onExit();
subActivity.reset();
}
}
void ActivityWithSubactivity::enterNewActivity(Activity* activity) {
subActivity.reset(activity);
subActivity->onEnter();
}
void ActivityWithSubactivity::loop() {
if (subActivity) {
subActivity->loop();
}
}
void ActivityWithSubactivity::onExit() { exitActivity(); }

View File

@ -1,17 +0,0 @@
#pragma once
#include <memory>
#include "Activity.h"
class ActivityWithSubactivity : public Activity {
protected:
std::unique_ptr<Activity> subActivity = nullptr;
void exitActivity();
void enterNewActivity(Activity* activity);
public:
explicit ActivityWithSubactivity(GfxRenderer& renderer, InputManager& inputManager)
: Activity(renderer, inputManager) {}
void loop() override;
void onExit() override;
};

View File

@ -1,8 +0,0 @@
#pragma once
#include "../Activity.h"
class BootActivity final : public Activity {
public:
explicit BootActivity(GfxRenderer& renderer, InputManager& inputManager) : Activity(renderer, inputManager) {}
void onEnter() override;
};

View File

@ -1,13 +0,0 @@
#pragma once
#include "../Activity.h"
#include "SD.h"
class SleepActivity final : public Activity {
public:
explicit SleepActivity(GfxRenderer& renderer, InputManager& inputManager) : Activity(renderer, inputManager) {}
void onEnter() override;
private:
void renderDefaultSleepScreen();
void renderCustomSleepScreen(File& file);
};

View File

@ -1,103 +0,0 @@
#include "HomeActivity.h"
#include <GfxRenderer.h>
#include <SD.h>
#include "config.h"
namespace {
constexpr int menuItemCount = 2;
}
void HomeActivity::taskTrampoline(void* param) {
auto* self = static_cast<HomeActivity*>(param);
self->displayTaskLoop();
}
void HomeActivity::onEnter() {
renderingMutex = xSemaphoreCreateMutex();
selectorIndex = 0;
// Trigger first update
updateRequired = true;
xTaskCreate(&HomeActivity::taskTrampoline, "HomeActivityTask",
2048, // Stack size
this, // Parameters
1, // Priority
&displayTaskHandle // Task handle
);
}
void HomeActivity::onExit() {
// Wait until not rendering to delete task to avoid killing mid-instruction to EPD
xSemaphoreTake(renderingMutex, portMAX_DELAY);
if (displayTaskHandle) {
vTaskDelete(displayTaskHandle);
displayTaskHandle = nullptr;
}
vSemaphoreDelete(renderingMutex);
renderingMutex = nullptr;
}
void HomeActivity::loop() {
const bool prevPressed =
inputManager.wasPressed(InputManager::BTN_UP) || inputManager.wasPressed(InputManager::BTN_LEFT);
const bool nextPressed =
inputManager.wasPressed(InputManager::BTN_DOWN) || inputManager.wasPressed(InputManager::BTN_RIGHT);
if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) {
if (selectorIndex == 0) {
onReaderOpen();
} else if (selectorIndex == 1) {
onSettingsOpen();
}
} else if (prevPressed) {
selectorIndex = (selectorIndex + menuItemCount - 1) % menuItemCount;
updateRequired = true;
} else if (nextPressed) {
selectorIndex = (selectorIndex + 1) % menuItemCount;
updateRequired = true;
}
}
void HomeActivity::displayTaskLoop() {
while (true) {
if (updateRequired) {
updateRequired = false;
xSemaphoreTake(renderingMutex, portMAX_DELAY);
render();
xSemaphoreGive(renderingMutex);
}
vTaskDelay(10 / portTICK_PERIOD_MS);
}
}
void HomeActivity::render() const {
renderer.clearScreen();
const auto pageWidth = GfxRenderer::getScreenWidth();
const auto pageHeight = GfxRenderer::getScreenHeight();
renderer.drawCenteredText(READER_FONT_ID, 10, "CrossPoint Reader", true, BOLD);
// Draw selection
renderer.fillRect(0, 60 + selectorIndex * 30 + 2, pageWidth - 1, 30);
renderer.drawText(UI_FONT_ID, 20, 60, "Read", selectorIndex != 0);
renderer.drawText(UI_FONT_ID, 20, 90, "Settings", selectorIndex != 1);
renderer.drawRect(25, pageHeight - 40, 106, 40);
renderer.drawText(UI_FONT_ID, 25 + (105 - renderer.getTextWidth(UI_FONT_ID, "Back")) / 2, pageHeight - 35, "Back");
renderer.drawRect(130, pageHeight - 40, 106, 40);
renderer.drawText(UI_FONT_ID, 130 + (105 - renderer.getTextWidth(UI_FONT_ID, "Confirm")) / 2, pageHeight - 35,
"Confirm");
renderer.drawRect(245, pageHeight - 40, 106, 40);
renderer.drawText(UI_FONT_ID, 245 + (105 - renderer.getTextWidth(UI_FONT_ID, "Left")) / 2, pageHeight - 35, "Left");
renderer.drawRect(350, pageHeight - 40, 106, 40);
renderer.drawText(UI_FONT_ID, 350 + (105 - renderer.getTextWidth(UI_FONT_ID, "Right")) / 2, pageHeight - 35, "Right");
renderer.displayBuffer();
}

View File

@ -1,29 +0,0 @@
#pragma once
#include <freertos/FreeRTOS.h>
#include <freertos/semphr.h>
#include <freertos/task.h>
#include <functional>
#include "../Activity.h"
class HomeActivity final : public Activity {
TaskHandle_t displayTaskHandle = nullptr;
SemaphoreHandle_t renderingMutex = nullptr;
int selectorIndex = 0;
bool updateRequired = false;
const std::function<void()> onReaderOpen;
const std::function<void()> onSettingsOpen;
static void taskTrampoline(void* param);
[[noreturn]] void displayTaskLoop();
void render() const;
public:
explicit HomeActivity(GfxRenderer& renderer, InputManager& inputManager, const std::function<void()>& onReaderOpen,
const std::function<void()>& onSettingsOpen)
: Activity(renderer, inputManager), onReaderOpen(onReaderOpen), onSettingsOpen(onSettingsOpen) {}
void onEnter() override;
void onExit() override;
void loop() override;
};

View File

@ -1,68 +0,0 @@
#include "ReaderActivity.h"
#include <SD.h>
#include "CrossPointState.h"
#include "Epub.h"
#include "EpubReaderActivity.h"
#include "FileSelectionActivity.h"
#include "activities/util/FullScreenMessageActivity.h"
std::unique_ptr<Epub> ReaderActivity::loadEpub(const std::string& path) {
if (!SD.exists(path.c_str())) {
Serial.printf("[%lu] [ ] File does not exist: %s\n", millis(), path.c_str());
return nullptr;
}
auto epub = std::unique_ptr<Epub>(new Epub(path, "/.crosspoint"));
if (epub->load()) {
return epub;
}
Serial.printf("[%lu] [ ] Failed to load epub\n", millis());
return nullptr;
}
void ReaderActivity::onSelectEpubFile(const std::string& path) {
exitActivity();
enterNewActivity(new FullScreenMessageActivity(renderer, inputManager, "Loading..."));
auto epub = loadEpub(path);
if (epub) {
APP_STATE.openEpubPath = path;
APP_STATE.saveToFile();
onGoToEpubReader(std::move(epub));
} else {
exitActivity();
enterNewActivity(new FullScreenMessageActivity(renderer, inputManager, "Failed to load epub", REGULAR,
EInkDisplay::HALF_REFRESH));
delay(2000);
onGoToFileSelection();
}
}
void ReaderActivity::onGoToFileSelection() {
exitActivity();
enterNewActivity(new FileSelectionActivity(
renderer, inputManager, [this](const std::string& path) { onSelectEpubFile(path); }, onGoBack));
}
void ReaderActivity::onGoToEpubReader(std::unique_ptr<Epub> epub) {
exitActivity();
enterNewActivity(new EpubReaderActivity(renderer, inputManager, std::move(epub), [this] { onGoToFileSelection(); }));
}
void ReaderActivity::onEnter() {
if (initialEpubPath.empty()) {
onGoToFileSelection();
return;
}
auto epub = loadEpub(initialEpubPath);
if (!epub) {
onGoBack();
return;
}
onGoToEpubReader(std::move(epub));
}

View File

@ -1,24 +0,0 @@
#pragma once
#include <memory>
#include "../ActivityWithSubactivity.h"
class Epub;
class ReaderActivity final : public ActivityWithSubactivity {
std::string initialEpubPath;
const std::function<void()> onGoBack;
static std::unique_ptr<Epub> loadEpub(const std::string& path);
void onSelectEpubFile(const std::string& path);
void onGoToFileSelection();
void onGoToEpubReader(std::unique_ptr<Epub> epub);
public:
explicit ReaderActivity(GfxRenderer& renderer, InputManager& inputManager, std::string initialEpubPath,
const std::function<void()>& onGoBack)
: ActivityWithSubactivity(renderer, inputManager),
initialEpubPath(std::move(initialEpubPath)),
onGoBack(onGoBack) {}
void onEnter() override;
};

View File

@ -1,130 +0,0 @@
#include "SettingsActivity.h"
#include <GfxRenderer.h>
#include "CrossPointSettings.h"
#include "config.h"
// Define the static settings list
const SettingInfo SettingsActivity::settingsList[settingsCount] = {
{"White Sleep Screen", &CrossPointSettings::whiteSleepScreen},
{"Extra Paragraph Spacing", &CrossPointSettings::extraParagraphSpacing}};
void SettingsActivity::taskTrampoline(void* param) {
auto* self = static_cast<SettingsActivity*>(param);
self->displayTaskLoop();
}
void SettingsActivity::onEnter() {
renderingMutex = xSemaphoreCreateMutex();
// Reset selection to first item
selectedSettingIndex = 0;
// Trigger first update
updateRequired = true;
xTaskCreate(&SettingsActivity::taskTrampoline, "SettingsActivityTask",
2048, // Stack size
this, // Parameters
1, // Priority
&displayTaskHandle // Task handle
);
}
void SettingsActivity::onExit() {
// Wait until not rendering to delete task to avoid killing mid-instruction to EPD
xSemaphoreTake(renderingMutex, portMAX_DELAY);
if (displayTaskHandle) {
vTaskDelete(displayTaskHandle);
displayTaskHandle = nullptr;
}
vSemaphoreDelete(renderingMutex);
renderingMutex = nullptr;
}
void SettingsActivity::loop() {
// Handle actions with early return
if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) {
toggleCurrentSetting();
updateRequired = true;
return;
}
if (inputManager.wasPressed(InputManager::BTN_BACK)) {
SETTINGS.saveToFile();
onGoHome();
return;
}
// Handle navigation
if (inputManager.wasPressed(InputManager::BTN_UP) || inputManager.wasPressed(InputManager::BTN_LEFT)) {
// Move selection up (with wrap-around)
selectedSettingIndex = (selectedSettingIndex > 0) ? (selectedSettingIndex - 1) : (settingsCount - 1);
updateRequired = true;
} else if (inputManager.wasPressed(InputManager::BTN_DOWN) || inputManager.wasPressed(InputManager::BTN_RIGHT)) {
// Move selection down (with wrap-around)
selectedSettingIndex = (selectedSettingIndex < settingsCount - 1) ? (selectedSettingIndex + 1) : 0;
updateRequired = true;
}
}
void SettingsActivity::toggleCurrentSetting() {
// Validate index
if (selectedSettingIndex < 0 || selectedSettingIndex >= settingsCount) {
return;
}
// Toggle the boolean value using the member pointer
bool currentValue = SETTINGS.*(settingsList[selectedSettingIndex].valuePtr);
SETTINGS.*(settingsList[selectedSettingIndex].valuePtr) = !currentValue;
// Save settings when they change
SETTINGS.saveToFile();
}
void SettingsActivity::displayTaskLoop() {
while (true) {
if (updateRequired) {
updateRequired = false;
xSemaphoreTake(renderingMutex, portMAX_DELAY);
render();
xSemaphoreGive(renderingMutex);
}
vTaskDelay(10 / portTICK_PERIOD_MS);
}
}
void SettingsActivity::render() const {
renderer.clearScreen();
const auto pageWidth = GfxRenderer::getScreenWidth();
const auto pageHeight = GfxRenderer::getScreenHeight();
// Draw header
renderer.drawCenteredText(READER_FONT_ID, 10, "Settings", true, BOLD);
// We always have at least one setting
// Draw all settings
for (int i = 0; i < settingsCount; i++) {
const int settingY = 60 + i * 30; // 30 pixels between settings
// Draw selection indicator for the selected setting
if (i == selectedSettingIndex) {
renderer.drawText(UI_FONT_ID, 5, settingY, ">");
}
// Draw setting name and value
renderer.drawText(UI_FONT_ID, 20, settingY, settingsList[i].name);
bool value = SETTINGS.*(settingsList[i].valuePtr);
renderer.drawText(UI_FONT_ID, pageWidth - 80, settingY, value ? "ON" : "OFF");
}
// Draw help text
renderer.drawText(SMALL_FONT_ID, 20, pageHeight - 30, "Press OK to toggle, BACK to save & exit");
// Always use standard refresh for settings screen
renderer.displayBuffer();
}

View File

@ -1,42 +0,0 @@
#pragma once
#include <freertos/FreeRTOS.h>
#include <freertos/semphr.h>
#include <freertos/task.h>
#include <cstdint>
#include <string>
#include <vector>
#include "../Activity.h"
class CrossPointSettings;
// Structure to hold setting information
struct SettingInfo {
const char* name; // Display name of the setting
uint8_t CrossPointSettings::* valuePtr; // Pointer to member in CrossPointSettings
};
class SettingsActivity final : public Activity {
TaskHandle_t displayTaskHandle = nullptr;
SemaphoreHandle_t renderingMutex = nullptr;
bool updateRequired = false;
int selectedSettingIndex = 0; // Currently selected setting
const std::function<void()> onGoHome;
// Static settings list
static constexpr int settingsCount = 2; // Number of settings
static const SettingInfo settingsList[settingsCount];
static void taskTrampoline(void* param);
[[noreturn]] void displayTaskLoop();
void render() const;
void toggleCurrentSetting();
public:
explicit SettingsActivity(GfxRenderer& renderer, InputManager& inputManager, const std::function<void()>& onGoHome)
: Activity(renderer, inputManager), onGoHome(onGoHome) {}
void onEnter() override;
void onExit() override;
void loop() override;
};

View File

@ -1,21 +0,0 @@
#pragma once
#include <EInkDisplay.h>
#include <EpdFontFamily.h>
#include <string>
#include <utility>
#include "../Activity.h"
class FullScreenMessageActivity final : public Activity {
std::string text;
EpdFontStyle style;
EInkDisplay::RefreshMode refreshMode;
public:
explicit FullScreenMessageActivity(GfxRenderer& renderer, InputManager& inputManager, std::string text,
const EpdFontStyle style = REGULAR,
const EInkDisplay::RefreshMode refreshMode = EInkDisplay::FAST_REFRESH)
: Activity(renderer, inputManager), text(std::move(text)), style(style), refreshMode(refreshMode) {}
void onEnter() override;
};

View File

@ -9,7 +9,7 @@
* "./lib/EpdFont/builtinFonts/bookerly_italic_2b.h", * "./lib/EpdFont/builtinFonts/bookerly_italic_2b.h",
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)' * ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
*/ */
#define READER_FONT_ID 828106571 #define READER_FONT_ID 1747632454
/** /**
* Generated with: * Generated with:
@ -18,7 +18,7 @@
* "./lib/EpdFont/builtinFonts/ubuntu_bold_10.h", * "./lib/EpdFont/builtinFonts/ubuntu_bold_10.h",
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)' * ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
*/ */
#define UI_FONT_ID -56235187 #define UI_FONT_ID 225955604
/** /**
* Generated with: * Generated with:
@ -26,4 +26,4 @@
* "./lib/EpdFont/builtinFonts/pixelarial14.h", * "./lib/EpdFont/builtinFonts/pixelarial14.h",
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)' * ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
*/ */
#define SMALL_FONT_ID -1952330053 #define SMALL_FONT_ID 2037928017

View File

@ -14,15 +14,13 @@
#include <builtinFonts/ubuntu_bold_10.h> #include <builtinFonts/ubuntu_bold_10.h>
#include "Battery.h" #include "Battery.h"
#include "CrossPointSettings.h"
#include "CrossPointState.h" #include "CrossPointState.h"
#include "activities/boot_sleep/BootActivity.h"
#include "activities/boot_sleep/SleepActivity.h"
#include "activities/home/HomeActivity.h"
#include "activities/reader/ReaderActivity.h"
#include "activities/settings/SettingsActivity.h"
#include "activities/util/FullScreenMessageActivity.h"
#include "config.h" #include "config.h"
#include "screens/BootLogoScreen.h"
#include "screens/EpubReaderScreen.h"
#include "screens/FileSelectionScreen.h"
#include "screens/FullScreenMessageScreen.h"
#include "screens/SleepScreen.h"
#define SPI_FQ 40000000 #define SPI_FQ 40000000
// Display SPI pins (custom pins for XteinkX4, not hardware SPI defaults) // Display SPI pins (custom pins for XteinkX4, not hardware SPI defaults)
@ -41,7 +39,8 @@
EInkDisplay einkDisplay(EPD_SCLK, EPD_MOSI, EPD_CS, EPD_DC, EPD_RST, EPD_BUSY); EInkDisplay einkDisplay(EPD_SCLK, EPD_MOSI, EPD_CS, EPD_DC, EPD_RST, EPD_BUSY);
InputManager inputManager; InputManager inputManager;
GfxRenderer renderer(einkDisplay); GfxRenderer renderer(einkDisplay);
Activity* currentActivity; Screen* currentScreen;
CrossPointState appState;
// Fonts // Fonts
EpdFont bookerlyFont(&bookerly_2b); EpdFont bookerlyFont(&bookerly_2b);
@ -59,22 +58,35 @@ EpdFontFamily ubuntuFontFamily(&ubuntu10Font, &ubuntuBold10Font);
// Power button timing // Power button timing
// Time required to confirm boot from sleep // Time required to confirm boot from sleep
constexpr unsigned long POWER_BUTTON_WAKEUP_MS = 500; constexpr unsigned long POWER_BUTTON_WAKEUP_MS = 1000;
// Time required to enter sleep mode // Time required to enter sleep mode
constexpr unsigned long POWER_BUTTON_SLEEP_MS = 500; constexpr unsigned long POWER_BUTTON_SLEEP_MS = 1000;
// Auto-sleep timeout (10 minutes of inactivity)
constexpr unsigned long AUTO_SLEEP_TIMEOUT_MS = 10 * 60 * 1000;
void exitActivity() { std::unique_ptr<Epub> loadEpub(const std::string& path) {
if (currentActivity) { if (!SD.exists(path.c_str())) {
currentActivity->onExit(); Serial.printf("[%lu] [ ] File does not exist: %s\n", millis(), path.c_str());
delete currentActivity; return nullptr;
}
auto epub = std::unique_ptr<Epub>(new Epub(path, "/.crosspoint"));
if (epub->load()) {
return epub;
}
Serial.printf("[%lu] [ ] Failed to load epub\n", millis());
return nullptr;
}
void exitScreen() {
if (currentScreen) {
currentScreen->onExit();
delete currentScreen;
} }
} }
void enterNewActivity(Activity* activity) { void enterNewScreen(Screen* screen) {
currentActivity = activity; currentScreen = screen;
currentActivity->onEnter(); currentScreen->onEnter();
} }
// Verify long press on wake-up from deep sleep // Verify long press on wake-up from deep sleep
@ -118,8 +130,8 @@ void waitForPowerRelease() {
// Enter deep sleep mode // Enter deep sleep mode
void enterDeepSleep() { void enterDeepSleep() {
exitActivity(); exitScreen();
enterNewActivity(new SleepActivity(renderer, inputManager)); enterNewScreen(new SleepScreen(renderer, inputManager));
Serial.printf("[%lu] [ ] Power button released after a long press. Entering deep sleep.\n", millis()); Serial.printf("[%lu] [ ] Power button released after a long press. Entering deep sleep.\n", millis());
delay(1000); // Allow Serial buffer to empty and display to update delay(1000); // Allow Serial buffer to empty and display to update
@ -134,20 +146,28 @@ void enterDeepSleep() {
} }
void onGoHome(); void onGoHome();
void onGoToReader(const std::string& initialEpubPath) { void onSelectEpubFile(const std::string& path) {
exitActivity(); exitScreen();
enterNewActivity(new ReaderActivity(renderer, inputManager, initialEpubPath, onGoHome)); enterNewScreen(new FullScreenMessageScreen(renderer, inputManager, "Loading..."));
}
void onGoToReaderHome() { onGoToReader(std::string()); }
void onGoToSettings() { auto epub = loadEpub(path);
exitActivity(); if (epub) {
enterNewActivity(new SettingsActivity(renderer, inputManager, onGoHome)); appState.openEpubPath = path;
appState.saveToFile();
exitScreen();
enterNewScreen(new EpubReaderScreen(renderer, inputManager, std::move(epub), onGoHome));
} else {
exitScreen();
enterNewScreen(
new FullScreenMessageScreen(renderer, inputManager, "Failed to load epub", REGULAR, EInkDisplay::HALF_REFRESH));
delay(2000);
onGoHome();
}
} }
void onGoHome() { void onGoHome() {
exitActivity(); exitScreen();
enterNewActivity(new HomeActivity(renderer, inputManager, onGoToReaderHome, onGoToSettings)); enterNewScreen(new FileSelectionScreen(renderer, inputManager, onSelectEpubFile));
} }
void setup() { void setup() {
@ -173,20 +193,33 @@ void setup() {
renderer.insertFont(SMALL_FONT_ID, smallFontFamily); renderer.insertFont(SMALL_FONT_ID, smallFontFamily);
Serial.printf("[%lu] [ ] Fonts setup\n", millis()); Serial.printf("[%lu] [ ] Fonts setup\n", millis());
exitActivity(); exitScreen();
enterNewActivity(new BootActivity(renderer, inputManager)); enterNewScreen(new BootLogoScreen(renderer, inputManager));
// SD Card Initialization // SD Card Initialization
SD.begin(SD_SPI_CS, SPI, SPI_FQ); SD.begin(SD_SPI_CS, SPI, SPI_FQ);
SETTINGS.loadFromFile(); // TODO: Remove testing code before merging
APP_STATE.loadFromFile(); // exitScreen();
if (APP_STATE.openEpubPath.empty()) { // enterNewScreen(new SleepScreen(renderer, inputManager));
onGoHome(); // waitForPowerRelease();
} else { // return;
onGoToReader(APP_STATE.openEpubPath);
appState.loadFromFile();
if (!appState.openEpubPath.empty()) {
auto epub = loadEpub(appState.openEpubPath);
if (epub) {
exitScreen();
enterNewScreen(new EpubReaderScreen(renderer, inputManager, std::move(epub), onGoHome));
// Ensure we're not still holding the power button before leaving setup
waitForPowerRelease();
return;
}
} }
exitScreen();
enterNewScreen(new FileSelectionScreen(renderer, inputManager, onSelectEpubFile));
// Ensure we're not still holding the power button before leaving setup // Ensure we're not still holding the power button before leaving setup
waitForPowerRelease(); waitForPowerRelease();
} }
@ -202,27 +235,13 @@ void loop() {
} }
inputManager.update(); inputManager.update();
// Check for any user activity (button press or release)
static unsigned long lastActivityTime = millis();
if (inputManager.wasAnyPressed() || inputManager.wasAnyReleased()) {
lastActivityTime = millis(); // Reset inactivity timer
}
if (millis() - lastActivityTime >= AUTO_SLEEP_TIMEOUT_MS) {
Serial.printf("[%lu] [SLP] Auto-sleep triggered after %lu ms of inactivity\n", millis(), AUTO_SLEEP_TIMEOUT_MS);
enterDeepSleep();
// This should never be hit as `enterDeepSleep` calls esp_deep_sleep_start
return;
}
if (inputManager.wasReleased(InputManager::BTN_POWER) && inputManager.getHeldTime() > POWER_BUTTON_WAKEUP_MS) { if (inputManager.wasReleased(InputManager::BTN_POWER) && inputManager.getHeldTime() > POWER_BUTTON_WAKEUP_MS) {
enterDeepSleep(); enterDeepSleep();
// This should never be hit as `enterDeepSleep` calls esp_deep_sleep_start // This should never be hit as `enterDeepSleep` calls esp_deep_sleep_start
return; return;
} }
if (currentActivity) { if (currentScreen) {
currentActivity->loop(); currentScreen->handleInput();
} }
} }

View File

@ -1,11 +1,11 @@
#include "BootActivity.h" #include "BootLogoScreen.h"
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include "config.h" #include "config.h"
#include "images/CrossLarge.h" #include "images/CrossLarge.h"
void BootActivity::onEnter() { void BootLogoScreen::onEnter() {
const auto pageWidth = GfxRenderer::getScreenWidth(); const auto pageWidth = GfxRenderer::getScreenWidth();
const auto pageHeight = GfxRenderer::getScreenHeight(); const auto pageHeight = GfxRenderer::getScreenHeight();

View File

@ -0,0 +1,8 @@
#pragma once
#include "Screen.h"
class BootLogoScreen final : public Screen {
public:
explicit BootLogoScreen(GfxRenderer& renderer, InputManager& inputManager) : Screen(renderer, inputManager) {}
void onEnter() override;
};

View File

@ -1,4 +1,4 @@
#include "EpubReaderChapterSelectionActivity.h" #include "EpubReaderChapterSelectionScreen.h"
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include <SD.h> #include <SD.h>
@ -8,12 +8,12 @@
constexpr int PAGE_ITEMS = 24; constexpr int PAGE_ITEMS = 24;
constexpr int SKIP_PAGE_MS = 700; constexpr int SKIP_PAGE_MS = 700;
void EpubReaderChapterSelectionActivity::taskTrampoline(void* param) { void EpubReaderChapterSelectionScreen::taskTrampoline(void* param) {
auto* self = static_cast<EpubReaderChapterSelectionActivity*>(param); auto* self = static_cast<EpubReaderChapterSelectionScreen*>(param);
self->displayTaskLoop(); self->displayTaskLoop();
} }
void EpubReaderChapterSelectionActivity::onEnter() { void EpubReaderChapterSelectionScreen::onEnter() {
if (!epub) { if (!epub) {
return; return;
} }
@ -23,7 +23,7 @@ void EpubReaderChapterSelectionActivity::onEnter() {
// Trigger first update // Trigger first update
updateRequired = true; updateRequired = true;
xTaskCreate(&EpubReaderChapterSelectionActivity::taskTrampoline, "EpubReaderChapterSelectionActivityTask", xTaskCreate(&EpubReaderChapterSelectionScreen::taskTrampoline, "EpubReaderChapterSelectionScreenTask",
2048, // Stack size 2048, // Stack size
this, // Parameters this, // Parameters
1, // Priority 1, // Priority
@ -31,7 +31,7 @@ void EpubReaderChapterSelectionActivity::onEnter() {
); );
} }
void EpubReaderChapterSelectionActivity::onExit() { void EpubReaderChapterSelectionScreen::onExit() {
// Wait until not rendering to delete task to avoid killing mid-instruction to EPD // Wait until not rendering to delete task to avoid killing mid-instruction to EPD
xSemaphoreTake(renderingMutex, portMAX_DELAY); xSemaphoreTake(renderingMutex, portMAX_DELAY);
if (displayTaskHandle) { if (displayTaskHandle) {
@ -42,7 +42,7 @@ void EpubReaderChapterSelectionActivity::onExit() {
renderingMutex = nullptr; renderingMutex = nullptr;
} }
void EpubReaderChapterSelectionActivity::loop() { void EpubReaderChapterSelectionScreen::handleInput() {
const bool prevReleased = const bool prevReleased =
inputManager.wasReleased(InputManager::BTN_UP) || inputManager.wasReleased(InputManager::BTN_LEFT); inputManager.wasReleased(InputManager::BTN_UP) || inputManager.wasReleased(InputManager::BTN_LEFT);
const bool nextReleased = const bool nextReleased =
@ -72,7 +72,7 @@ void EpubReaderChapterSelectionActivity::loop() {
} }
} }
void EpubReaderChapterSelectionActivity::displayTaskLoop() { void EpubReaderChapterSelectionScreen::displayTaskLoop() {
while (true) { while (true) {
if (updateRequired) { if (updateRequired) {
updateRequired = false; updateRequired = false;
@ -84,7 +84,7 @@ void EpubReaderChapterSelectionActivity::displayTaskLoop() {
} }
} }
void EpubReaderChapterSelectionActivity::renderScreen() { void EpubReaderChapterSelectionScreen::renderScreen() {
renderer.clearScreen(); renderer.clearScreen();
const auto pageWidth = renderer.getScreenWidth(); const auto pageWidth = renderer.getScreenWidth();

View File

@ -6,9 +6,9 @@
#include <memory> #include <memory>
#include "../Activity.h" #include "Screen.h"
class EpubReaderChapterSelectionActivity final : public Activity { class EpubReaderChapterSelectionScreen final : public Screen {
std::shared_ptr<Epub> epub; std::shared_ptr<Epub> epub;
TaskHandle_t displayTaskHandle = nullptr; TaskHandle_t displayTaskHandle = nullptr;
SemaphoreHandle_t renderingMutex = nullptr; SemaphoreHandle_t renderingMutex = nullptr;
@ -23,16 +23,16 @@ class EpubReaderChapterSelectionActivity final : public Activity {
void renderScreen(); void renderScreen();
public: public:
explicit EpubReaderChapterSelectionActivity(GfxRenderer& renderer, InputManager& inputManager, explicit EpubReaderChapterSelectionScreen(GfxRenderer& renderer, InputManager& inputManager,
const std::shared_ptr<Epub>& epub, const int currentSpineIndex, const std::shared_ptr<Epub>& epub, const int currentSpineIndex,
const std::function<void()>& onGoBack, const std::function<void()>& onGoBack,
const std::function<void(int newSpineIndex)>& onSelectSpineIndex) const std::function<void(int newSpineIndex)>& onSelectSpineIndex)
: Activity(renderer, inputManager), : Screen(renderer, inputManager),
epub(epub), epub(epub),
currentSpineIndex(currentSpineIndex), currentSpineIndex(currentSpineIndex),
onGoBack(onGoBack), onGoBack(onGoBack),
onSelectSpineIndex(onSelectSpineIndex) {} onSelectSpineIndex(onSelectSpineIndex) {}
void onEnter() override; void onEnter() override;
void onExit() override; void onExit() override;
void loop() override; void handleInput() override;
}; };

View File

@ -1,30 +1,27 @@
#include "EpubReaderActivity.h" #include "EpubReaderScreen.h"
#include <Epub/Page.h> #include <Epub/Page.h>
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include <SD.h> #include <SD.h>
#include "Battery.h" #include "Battery.h"
#include "CrossPointSettings.h" #include "EpubReaderChapterSelectionScreen.h"
#include "EpubReaderChapterSelectionActivity.h"
#include "config.h" #include "config.h"
namespace { constexpr int PAGES_PER_REFRESH = 15;
constexpr int pagesPerRefresh = 15; constexpr unsigned long SKIP_CHAPTER_MS = 700;
constexpr unsigned long skipChapterMs = 700;
constexpr float lineCompression = 0.95f; constexpr float lineCompression = 0.95f;
constexpr int marginTop = 8; constexpr int marginTop = 8;
constexpr int marginRight = 10; constexpr int marginRight = 10;
constexpr int marginBottom = 22; constexpr int marginBottom = 22;
constexpr int marginLeft = 10; constexpr int marginLeft = 10;
} // namespace
void EpubReaderActivity::taskTrampoline(void* param) { void EpubReaderScreen::taskTrampoline(void* param) {
auto* self = static_cast<EpubReaderActivity*>(param); auto* self = static_cast<EpubReaderScreen*>(param);
self->displayTaskLoop(); self->displayTaskLoop();
} }
void EpubReaderActivity::onEnter() { void EpubReaderScreen::onEnter() {
if (!epub) { if (!epub) {
return; return;
} }
@ -33,6 +30,7 @@ void EpubReaderActivity::onEnter() {
epub->setupCacheDir(); epub->setupCacheDir();
// TODO: Move this to a state object
if (SD.exists((epub->getCachePath() + "/progress.bin").c_str())) { if (SD.exists((epub->getCachePath() + "/progress.bin").c_str())) {
File f = SD.open((epub->getCachePath() + "/progress.bin").c_str()); File f = SD.open((epub->getCachePath() + "/progress.bin").c_str());
uint8_t data[4]; uint8_t data[4];
@ -46,7 +44,7 @@ void EpubReaderActivity::onEnter() {
// Trigger first update // Trigger first update
updateRequired = true; updateRequired = true;
xTaskCreate(&EpubReaderActivity::taskTrampoline, "EpubReaderActivityTask", xTaskCreate(&EpubReaderScreen::taskTrampoline, "EpubReaderScreenTask",
8192, // Stack size 8192, // Stack size
this, // Parameters this, // Parameters
1, // Priority 1, // Priority
@ -54,7 +52,7 @@ void EpubReaderActivity::onEnter() {
); );
} }
void EpubReaderActivity::onExit() { void EpubReaderScreen::onExit() {
// Wait until not rendering to delete task to avoid killing mid-instruction to EPD // Wait until not rendering to delete task to avoid killing mid-instruction to EPD
xSemaphoreTake(renderingMutex, portMAX_DELAY); xSemaphoreTake(renderingMutex, portMAX_DELAY);
if (displayTaskHandle) { if (displayTaskHandle) {
@ -67,22 +65,22 @@ void EpubReaderActivity::onExit() {
epub.reset(); epub.reset();
} }
void EpubReaderActivity::loop() { void EpubReaderScreen::handleInput() {
// Pass input responsibility to sub activity if exists // Pass input responsibility to sub screen if exists
if (subAcitivity) { if (subScreen) {
subAcitivity->loop(); subScreen->handleInput();
return; return;
} }
// Enter chapter selection activity // Enter chapter selection screen
if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) { if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) {
// Don't start activity transition while rendering // Don't start screen transition while rendering
xSemaphoreTake(renderingMutex, portMAX_DELAY); xSemaphoreTake(renderingMutex, portMAX_DELAY);
subAcitivity.reset(new EpubReaderChapterSelectionActivity( subScreen.reset(new EpubReaderChapterSelectionScreen(
this->renderer, this->inputManager, epub, currentSpineIndex, this->renderer, this->inputManager, epub, currentSpineIndex,
[this] { [this] {
subAcitivity->onExit(); subScreen->onExit();
subAcitivity.reset(); subScreen.reset();
updateRequired = true; updateRequired = true;
}, },
[this](const int newSpineIndex) { [this](const int newSpineIndex) {
@ -91,16 +89,16 @@ void EpubReaderActivity::loop() {
nextPageNumber = 0; nextPageNumber = 0;
section.reset(); section.reset();
} }
subAcitivity->onExit(); subScreen->onExit();
subAcitivity.reset(); subScreen.reset();
updateRequired = true; updateRequired = true;
})); }));
subAcitivity->onEnter(); subScreen->onEnter();
xSemaphoreGive(renderingMutex); xSemaphoreGive(renderingMutex);
} }
if (inputManager.wasPressed(InputManager::BTN_BACK)) { if (inputManager.wasPressed(InputManager::BTN_BACK)) {
onGoBack(); onGoHome();
return; return;
} }
@ -121,7 +119,7 @@ void EpubReaderActivity::loop() {
return; return;
} }
const bool skipChapter = inputManager.getHeldTime() > skipChapterMs; const bool skipChapter = inputManager.getHeldTime() > SKIP_CHAPTER_MS;
if (skipChapter) { if (skipChapter) {
// We don't want to delete the section mid-render, so grab the semaphore // We don't want to delete the section mid-render, so grab the semaphore
@ -167,7 +165,7 @@ void EpubReaderActivity::loop() {
} }
} }
void EpubReaderActivity::displayTaskLoop() { void EpubReaderScreen::displayTaskLoop() {
while (true) { while (true) {
if (updateRequired) { if (updateRequired) {
updateRequired = false; updateRequired = false;
@ -180,7 +178,7 @@ void EpubReaderActivity::displayTaskLoop() {
} }
// TODO: Failure handling // TODO: Failure handling
void EpubReaderActivity::renderScreen() { void EpubReaderScreen::renderScreen() {
if (!epub) { if (!epub) {
return; return;
} }
@ -206,31 +204,31 @@ void EpubReaderActivity::renderScreen() {
const auto filepath = epub->getSpineItem(currentSpineIndex); const auto filepath = epub->getSpineItem(currentSpineIndex);
Serial.printf("[%lu] [ERS] Loading file: %s, index: %d\n", millis(), filepath.c_str(), currentSpineIndex); Serial.printf("[%lu] [ERS] Loading file: %s, index: %d\n", millis(), filepath.c_str(), currentSpineIndex);
section = std::unique_ptr<Section>(new Section(epub, currentSpineIndex, renderer)); section = std::unique_ptr<Section>(new Section(epub, currentSpineIndex, renderer));
if (!section->loadCacheMetadata(READER_FONT_ID, lineCompression, marginTop, marginRight, marginBottom, marginLeft, if (!section->loadCacheMetadata(READER_FONT_ID, lineCompression, marginTop, marginRight, marginBottom,
SETTINGS.extraParagraphSpacing)) { marginLeft)) {
Serial.printf("[%lu] [ERS] Cache not found, building...\n", millis()); Serial.printf("[%lu] [ERS] Cache not found, building...\n", millis());
{ {
renderer.grayscaleRevert();
const int textWidth = renderer.getTextWidth(READER_FONT_ID, "Indexing..."); const int textWidth = renderer.getTextWidth(READER_FONT_ID, "Indexing...");
constexpr int margin = 20; constexpr int margin = 20;
// Round all coordinates to 8 pixel boundaries const int x = (GfxRenderer::getScreenWidth() - textWidth - margin * 2) / 2;
const int x = ((GfxRenderer::getScreenWidth() - textWidth - margin * 2) / 2 + 7) / 8 * 8; constexpr int y = 50;
constexpr int y = 56; const int w = textWidth + margin * 2;
const int w = (textWidth + margin * 2 + 7) / 8 * 8; const int h = renderer.getLineHeight(READER_FONT_ID) + margin * 2;
const int h = (renderer.getLineHeight(READER_FONT_ID) + margin * 2 + 7) / 8 * 8; renderer.grayscaleRevert();
renderer.fillRect(x, y, w, h, false); uint8_t* fb1 = renderer.getFrameBuffer();
renderer.swapBuffers();
memcpy(fb1, renderer.getFrameBuffer(), EInkDisplay::BUFFER_SIZE);
renderer.fillRect(x, y, w, h, 0);
renderer.drawText(READER_FONT_ID, x + margin, y + margin, "Indexing..."); renderer.drawText(READER_FONT_ID, x + margin, y + margin, "Indexing...");
renderer.drawRect(x + 5, y + 5, w - 10, h - 10); renderer.drawRect(x + 5, y + 5, w - 10, h - 10);
// EXPERIMENTAL: Still suffers from ghosting renderer.displayBuffer();
renderer.displayWindow(x, y, w, h);
pagesUntilFullRefresh = 0; pagesUntilFullRefresh = 0;
} }
section->setupCacheDir(); section->setupCacheDir();
if (!section->persistPageDataToSD(READER_FONT_ID, lineCompression, marginTop, marginRight, marginBottom, if (!section->persistPageDataToSD(READER_FONT_ID, lineCompression, marginTop, marginRight, marginBottom,
marginLeft, SETTINGS.extraParagraphSpacing)) { marginLeft)) {
Serial.printf("[%lu] [ERS] Failed to persist page data to SD\n", millis()); Serial.printf("[%lu] [ERS] Failed to persist page data to SD\n", millis());
section.reset(); section.reset();
return; return;
@ -287,53 +285,41 @@ void EpubReaderActivity::renderScreen() {
f.close(); f.close();
} }
void EpubReaderActivity::renderContents(std::unique_ptr<Page> page) { void EpubReaderScreen::renderContents(std::unique_ptr<Page> page) {
page->render(renderer, READER_FONT_ID); page->render(renderer, READER_FONT_ID);
renderStatusBar(); renderStatusBar();
if (pagesUntilFullRefresh <= 1) { if (pagesUntilFullRefresh <= 1) {
renderer.displayBuffer(EInkDisplay::HALF_REFRESH); renderer.displayBuffer(EInkDisplay::HALF_REFRESH);
pagesUntilFullRefresh = pagesPerRefresh; pagesUntilFullRefresh = PAGES_PER_REFRESH;
} else { } else {
renderer.displayBuffer(); renderer.displayBuffer();
pagesUntilFullRefresh--; pagesUntilFullRefresh--;
} }
// Save bw buffer to reset buffer state after grayscale data sync
renderer.storeBwBuffer();
// grayscale rendering // grayscale rendering
// TODO: Only do this if font supports it // TODO: Only do this if font supports it
{ {
renderer.clearScreen(0x00); renderer.clearScreen(0x00);
renderer.setRenderMode(GfxRenderer::GRAYSCALE_LSB); renderer.setFontRenderMode(GfxRenderer::GRAYSCALE_LSB);
page->render(renderer, READER_FONT_ID); page->render(renderer, READER_FONT_ID);
renderer.copyGrayscaleLsbBuffers(); renderer.copyGrayscaleLsbBuffers();
// Render and copy to MSB buffer // Render and copy to MSB buffer
renderer.clearScreen(0x00); renderer.clearScreen(0x00);
renderer.setRenderMode(GfxRenderer::GRAYSCALE_MSB); renderer.setFontRenderMode(GfxRenderer::GRAYSCALE_MSB);
page->render(renderer, READER_FONT_ID); page->render(renderer, READER_FONT_ID);
renderer.copyGrayscaleMsbBuffers(); renderer.copyGrayscaleMsbBuffers();
// display grayscale part // display grayscale part
renderer.displayGrayBuffer(); renderer.displayGrayBuffer();
renderer.setRenderMode(GfxRenderer::BW); renderer.setFontRenderMode(GfxRenderer::BW);
} }
// restore the bw data
renderer.restoreBwBuffer();
} }
void EpubReaderActivity::renderStatusBar() const { void EpubReaderScreen::renderStatusBar() const {
constexpr auto textY = 776; constexpr auto textY = 776;
// Calculate progress in book
float sectionChapterProg = static_cast<float>(section->currentPage) / section->pageCount;
uint8_t bookProgress = epub->calculateProgress(currentSpineIndex, sectionChapterProg);
// Right aligned text for progress counter // Right aligned text for progress counter
const std::string progress = std::to_string(section->currentPage + 1) + "/" + std::to_string(section->pageCount) + const std::string progress = std::to_string(section->currentPage + 1) + " / " + std::to_string(section->pageCount);
" " + std::to_string(bookProgress) + "%";
const auto progressTextWidth = renderer.getTextWidth(SMALL_FONT_ID, progress.c_str()); const auto progressTextWidth = renderer.getTextWidth(SMALL_FONT_ID, progress.c_str());
renderer.drawText(SMALL_FONT_ID, GfxRenderer::getScreenWidth() - marginRight - progressTextWidth, textY, renderer.drawText(SMALL_FONT_ID, GfxRenderer::getScreenWidth() - marginRight - progressTextWidth, textY,
progress.c_str()); progress.c_str());

View File

@ -5,19 +5,19 @@
#include <freertos/semphr.h> #include <freertos/semphr.h>
#include <freertos/task.h> #include <freertos/task.h>
#include "../Activity.h" #include "Screen.h"
class EpubReaderActivity final : public Activity { class EpubReaderScreen final : public Screen {
std::shared_ptr<Epub> epub; std::shared_ptr<Epub> epub;
std::unique_ptr<Section> section = nullptr; std::unique_ptr<Section> section = nullptr;
TaskHandle_t displayTaskHandle = nullptr; TaskHandle_t displayTaskHandle = nullptr;
SemaphoreHandle_t renderingMutex = nullptr; SemaphoreHandle_t renderingMutex = nullptr;
std::unique_ptr<Activity> subAcitivity = nullptr; std::unique_ptr<Screen> subScreen = nullptr;
int currentSpineIndex = 0; int currentSpineIndex = 0;
int nextPageNumber = 0; int nextPageNumber = 0;
int pagesUntilFullRefresh = 0; int pagesUntilFullRefresh = 0;
bool updateRequired = false; bool updateRequired = false;
const std::function<void()> onGoBack; const std::function<void()> onGoHome;
static void taskTrampoline(void* param); static void taskTrampoline(void* param);
[[noreturn]] void displayTaskLoop(); [[noreturn]] void displayTaskLoop();
@ -26,10 +26,10 @@ class EpubReaderActivity final : public Activity {
void renderStatusBar() const; void renderStatusBar() const;
public: public:
explicit EpubReaderActivity(GfxRenderer& renderer, InputManager& inputManager, std::unique_ptr<Epub> epub, explicit EpubReaderScreen(GfxRenderer& renderer, InputManager& inputManager, std::unique_ptr<Epub> epub,
const std::function<void()>& onGoBack) const std::function<void()>& onGoHome)
: Activity(renderer, inputManager), epub(std::move(epub)), onGoBack(onGoBack) {} : Screen(renderer, inputManager), epub(std::move(epub)), onGoHome(onGoHome) {}
void onEnter() override; void onEnter() override;
void onExit() override; void onExit() override;
void loop() override; void handleInput() override;
}; };

View File

@ -1,4 +1,4 @@
#include "FileSelectionActivity.h" #include "FileSelectionScreen.h"
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include <SD.h> #include <SD.h>
@ -15,12 +15,12 @@ void sortFileList(std::vector<std::string>& strs) {
}); });
} }
void FileSelectionActivity::taskTrampoline(void* param) { void FileSelectionScreen::taskTrampoline(void* param) {
auto* self = static_cast<FileSelectionActivity*>(param); auto* self = static_cast<FileSelectionScreen*>(param);
self->displayTaskLoop(); self->displayTaskLoop();
} }
void FileSelectionActivity::loadFiles() { void FileSelectionScreen::loadFiles() {
files.clear(); files.clear();
selectorIndex = 0; selectorIndex = 0;
auto root = SD.open(basepath.c_str()); auto root = SD.open(basepath.c_str());
@ -42,7 +42,7 @@ void FileSelectionActivity::loadFiles() {
sortFileList(files); sortFileList(files);
} }
void FileSelectionActivity::onEnter() { void FileSelectionScreen::onEnter() {
renderingMutex = xSemaphoreCreateMutex(); renderingMutex = xSemaphoreCreateMutex();
basepath = "/"; basepath = "/";
@ -52,7 +52,7 @@ void FileSelectionActivity::onEnter() {
// Trigger first update // Trigger first update
updateRequired = true; updateRequired = true;
xTaskCreate(&FileSelectionActivity::taskTrampoline, "FileSelectionActivityTask", xTaskCreate(&FileSelectionScreen::taskTrampoline, "FileSelectionScreenTask",
2048, // Stack size 2048, // Stack size
this, // Parameters this, // Parameters
1, // Priority 1, // Priority
@ -60,7 +60,7 @@ void FileSelectionActivity::onEnter() {
); );
} }
void FileSelectionActivity::onExit() { void FileSelectionScreen::onExit() {
// Wait until not rendering to delete task to avoid killing mid-instruction to EPD // Wait until not rendering to delete task to avoid killing mid-instruction to EPD
xSemaphoreTake(renderingMutex, portMAX_DELAY); xSemaphoreTake(renderingMutex, portMAX_DELAY);
if (displayTaskHandle) { if (displayTaskHandle) {
@ -72,7 +72,7 @@ void FileSelectionActivity::onExit() {
files.clear(); files.clear();
} }
void FileSelectionActivity::loop() { void FileSelectionScreen::handleInput() {
const bool prevPressed = const bool prevPressed =
inputManager.wasPressed(InputManager::BTN_UP) || inputManager.wasPressed(InputManager::BTN_LEFT); inputManager.wasPressed(InputManager::BTN_UP) || inputManager.wasPressed(InputManager::BTN_LEFT);
const bool nextPressed = const bool nextPressed =
@ -91,16 +91,11 @@ void FileSelectionActivity::loop() {
} else { } else {
onSelect(basepath + files[selectorIndex]); onSelect(basepath + files[selectorIndex]);
} }
} else if (inputManager.wasPressed(InputManager::BTN_BACK)) { } else if (inputManager.wasPressed(InputManager::BTN_BACK) && basepath != "/") {
if (basepath != "/") { basepath = basepath.substr(0, basepath.rfind('/'));
basepath = basepath.substr(0, basepath.rfind('/')); if (basepath.empty()) basepath = "/";
if (basepath.empty()) basepath = "/"; loadFiles();
loadFiles(); updateRequired = true;
updateRequired = true;
} else {
// At root level, go back home
onGoHome();
}
} else if (prevPressed) { } else if (prevPressed) {
selectorIndex = (selectorIndex + files.size() - 1) % files.size(); selectorIndex = (selectorIndex + files.size() - 1) % files.size();
updateRequired = true; updateRequired = true;
@ -110,7 +105,7 @@ void FileSelectionActivity::loop() {
} }
} }
void FileSelectionActivity::displayTaskLoop() { void FileSelectionScreen::displayTaskLoop() {
while (true) { while (true) {
if (updateRequired) { if (updateRequired) {
updateRequired = false; updateRequired = false;
@ -122,15 +117,12 @@ void FileSelectionActivity::displayTaskLoop() {
} }
} }
void FileSelectionActivity::render() const { void FileSelectionScreen::render() const {
renderer.clearScreen(); renderer.clearScreen();
const auto pageWidth = GfxRenderer::getScreenWidth(); const auto pageWidth = GfxRenderer::getScreenWidth();
renderer.drawCenteredText(READER_FONT_ID, 10, "CrossPoint Reader", true, BOLD); renderer.drawCenteredText(READER_FONT_ID, 10, "CrossPoint Reader", true, BOLD);
// Help text
renderer.drawText(SMALL_FONT_ID, 20, GfxRenderer::getScreenHeight() - 30, "Press BACK for Home");
if (files.empty()) { if (files.empty()) {
renderer.drawText(UI_FONT_ID, 20, 60, "No EPUBs found"); renderer.drawText(UI_FONT_ID, 20, 60, "No EPUBs found");
} else { } else {

View File

@ -7,9 +7,9 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "../Activity.h" #include "Screen.h"
class FileSelectionActivity final : public Activity { class FileSelectionScreen final : public Screen {
TaskHandle_t displayTaskHandle = nullptr; TaskHandle_t displayTaskHandle = nullptr;
SemaphoreHandle_t renderingMutex = nullptr; SemaphoreHandle_t renderingMutex = nullptr;
std::string basepath = "/"; std::string basepath = "/";
@ -17,7 +17,6 @@ class FileSelectionActivity final : public Activity {
int selectorIndex = 0; int selectorIndex = 0;
bool updateRequired = false; bool updateRequired = false;
const std::function<void(const std::string&)> onSelect; const std::function<void(const std::string&)> onSelect;
const std::function<void()> onGoHome;
static void taskTrampoline(void* param); static void taskTrampoline(void* param);
[[noreturn]] void displayTaskLoop(); [[noreturn]] void displayTaskLoop();
@ -25,11 +24,10 @@ class FileSelectionActivity final : public Activity {
void loadFiles(); void loadFiles();
public: public:
explicit FileSelectionActivity(GfxRenderer& renderer, InputManager& inputManager, explicit FileSelectionScreen(GfxRenderer& renderer, InputManager& inputManager,
const std::function<void(const std::string&)>& onSelect, const std::function<void(const std::string&)>& onSelect)
const std::function<void()>& onGoHome) : Screen(renderer, inputManager), onSelect(onSelect) {}
: Activity(renderer, inputManager), onSelect(onSelect), onGoHome(onGoHome) {}
void onEnter() override; void onEnter() override;
void onExit() override; void onExit() override;
void loop() override; void handleInput() override;
}; };

View File

@ -1,10 +1,10 @@
#include "FullScreenMessageActivity.h" #include "FullScreenMessageScreen.h"
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include "config.h" #include "config.h"
void FullScreenMessageActivity::onEnter() { void FullScreenMessageScreen::onEnter() {
const auto height = renderer.getLineHeight(UI_FONT_ID); const auto height = renderer.getLineHeight(UI_FONT_ID);
const auto top = (GfxRenderer::getScreenHeight() - height) / 2; const auto top = (GfxRenderer::getScreenHeight() - height) / 2;

View File

@ -0,0 +1,21 @@
#pragma once
#include <EInkDisplay.h>
#include <EpdFontFamily.h>
#include <string>
#include <utility>
#include "Screen.h"
class FullScreenMessageScreen final : public Screen {
std::string text;
EpdFontStyle style;
EInkDisplay::RefreshMode refreshMode;
public:
explicit FullScreenMessageScreen(GfxRenderer& renderer, InputManager& inputManager, std::string text,
const EpdFontStyle style = REGULAR,
const EInkDisplay::RefreshMode refreshMode = EInkDisplay::FAST_REFRESH)
: Screen(renderer, inputManager), text(std::move(text)), style(style), refreshMode(refreshMode) {}
void onEnter() override;
};

17
src/screens/Screen.h Normal file
View File

@ -0,0 +1,17 @@
#pragma once
#include <InputManager.h>
class GfxRenderer;
class Screen {
protected:
GfxRenderer& renderer;
InputManager& inputManager;
public:
explicit Screen(GfxRenderer& renderer, InputManager& inputManager) : renderer(renderer), inputManager(inputManager) {}
virtual ~Screen() = default;
virtual void onEnter() {}
virtual void onExit() {}
virtual void handleInput() {}
};

View File

@ -1,13 +1,12 @@
#include "SleepActivity.h" #include "SleepScreen.h"
#include <GfxRenderer.h> #include <GfxRenderer.h>
#include "CrossPointSettings.h"
#include "SD.h" #include "SD.h"
#include "config.h" #include "config.h"
#include "images/CrossLarge.h" #include "images/CrossLarge.h"
void SleepActivity::onEnter() { void SleepScreen::onEnter() {
// Look for sleep.bmp on the root of the sd card to determine if we should // Look for sleep.bmp on the root of the sd card to determine if we should
// render a custom sleep screen instead of the default. // render a custom sleep screen instead of the default.
auto file = SD.open("/sleep.bmp"); auto file = SD.open("/sleep.bmp");
@ -19,7 +18,7 @@ void SleepActivity::onEnter() {
renderDefaultSleepScreen(); renderDefaultSleepScreen();
} }
void SleepActivity::renderDefaultSleepScreen() { void SleepScreen::renderDefaultSleepScreen() {
const auto pageWidth = GfxRenderer::getScreenWidth(); const auto pageWidth = GfxRenderer::getScreenWidth();
const auto pageHeight = GfxRenderer::getScreenHeight(); const auto pageHeight = GfxRenderer::getScreenHeight();
@ -27,16 +26,11 @@ void SleepActivity::renderDefaultSleepScreen() {
renderer.drawImage(CrossLarge, (pageWidth - 128) / 2, (pageHeight - 128) / 2, 128, 128); renderer.drawImage(CrossLarge, (pageWidth - 128) / 2, (pageHeight - 128) / 2, 128, 128);
renderer.drawCenteredText(UI_FONT_ID, pageHeight / 2 + 70, "CrossPoint", true, BOLD); renderer.drawCenteredText(UI_FONT_ID, pageHeight / 2 + 70, "CrossPoint", true, BOLD);
renderer.drawCenteredText(SMALL_FONT_ID, pageHeight / 2 + 95, "SLEEPING"); renderer.drawCenteredText(SMALL_FONT_ID, pageHeight / 2 + 95, "SLEEPING");
renderer.invertScreen();
// Apply white screen if enabled in settings
if (!SETTINGS.whiteSleepScreen) {
renderer.invertScreen();
}
renderer.displayBuffer(EInkDisplay::HALF_REFRESH); renderer.displayBuffer(EInkDisplay::HALF_REFRESH);
} }
void SleepActivity::renderCustomSleepScreen(File& file) { void SleepScreen::renderCustomSleepScreen(File& file) {
renderer.clearScreen(); renderer.clearScreen();
bool didImageDrawSuccessfully = renderer.drawFullScreenBmp(file); bool didImageDrawSuccessfully = renderer.drawFullScreenBmp(file);
@ -46,4 +40,4 @@ void SleepActivity::renderCustomSleepScreen(File& file) {
} }
renderer.displayBuffer(EInkDisplay::HALF_REFRESH); renderer.displayBuffer(EInkDisplay::HALF_REFRESH);
} }

11
src/screens/SleepScreen.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
#include "SD.h"
#include "Screen.h"
class SleepScreen final : public Screen {
public:
explicit SleepScreen(GfxRenderer& renderer, InputManager& inputManager) : Screen(renderer, inputManager) {}
void onEnter() override;
void renderDefaultSleepScreen();
void renderCustomSleepScreen(File& file);
};