Xteink-X4-crosspoint-reader/lib/Epub
Jake Kenneally 9f78fd33e8
Some checks are pending
CI (build) / clang-format (push) Waiting to run
CI (build) / cppcheck (push) Waiting to run
CI (build) / build (push) Waiting to run
CI (build) / Test Status (push) Blocked by required conditions
fix: Remove separations after style changes (#720)
Closes #182. Closes #710. Closes #711.

## Summary

**What is the goal of this PR?**
- A longer-term, more robust fix for the issue with spurious spaces
appearing after style changes. Replaces solution from #694.

**What changes are included?**
- Add continuation flags to determine if to add a space after a word or
if the word connects to the previous word. Replaces simple solution that
only considered ending punctuation.
- Fixed an issue with greedy line-breaking algorithm where punctuation
could appear on the next line, separated from the word, if there was a
style change between the word and punctuation

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**YES**_, Claude Code
2026-02-06 19:10:37 +11:00
..
Epub fix: Remove separations after style changes (#720) 2026-02-06 19:10:37 +11:00
Epub.cpp feat: UI themes, Lyra (#528) 2026-02-05 21:50:11 +11:00
Epub.h feat: UI themes, Lyra (#528) 2026-02-05 21:50:11 +11:00