Skip to content

test/cjk#279

Closed
uxjulia wants to merge 2 commits into
developmentfrom
test/cjk
Closed

test/cjk#279
uxjulia wants to merge 2 commits into
developmentfrom
test/cjk

Conversation

@uxjulia

@uxjulia uxjulia commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add CJK-aware EPUB tokenization so SD-card CJK fonts can wrap book text at character boundaries without inserting artificial spaces.
  • Add basic CJK punctuation line-break rules so opening punctuation stays with the following token and closing punctuation stays with the previous token.
  • Detect CJK EPUB language metadata to disable Latin-centric bionic/guide layout and skip SD-font text anti-alias grayscale to reduce heap pressure.
  • Bump the EPUB section cache version and add focused UTF-8 CJK helper tests.

Validation

  • git diff --check
  • cmake --build test/build --target Utf8CjkTest && ctest --test-dir test/build -R Utf8CjkTest --output-on-failure
  • pio run -e simulator
  • pio run -e default

@uxjulia uxjulia closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant