Xteink-X4-crosspoint-reader/lib/Epub
Jake Kenneally d564173949 refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines
Major consolidation of styling infrastructure:

- Remove TextBlock::Style enum (JUSTIFIED, LEFT_ALIGN, etc.)
  Alignment is now stored in BlockStyle.alignment using CssTextAlign

- Remove wordUnderlines list from TextBlock and ParsedText
  Underline state is now encoded in EpdFontFamily::Style via UNDERLINE bitflag

- Use BlockStyle::fromCssStyle() and getCombinedBlockStyle() in parser
  Removes duplicated createBlockStyleFromCss() and mergeBlockStyles()

- Simplify text block rendering to check style bitflag for underlines

- Revert spurious spaces handling (isAttachingPunctuation logic)
  The actualGapCount approach had issues; using standard word gaps

This reduces code duplication and simplifies the style inheritance model.
2026-02-03 20:01:04 -05:00
..
Epub refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines 2026-02-03 20:01:04 -05:00
Epub.cpp Merge branch 'master' into feature/add-epub-css-parsing 2026-01-27 20:24:38 -05:00
Epub.h Merge remote-tracking branch 'origin' into feature/add-epub-css-parsing 2026-01-19 22:37:37 -06:00