Xteink-X4-crosspoint-reader/lib/Epub/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
..
blocks refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines 2026-02-03 20:01:04 -05:00
css refactor: rename CssStyle properties to match CSS naming 2026-02-03 20:00:54 -05:00
hyphenation feat: Add Spanish hyphenation support (#558) 2026-01-28 01:17:48 +11:00
parsers refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines 2026-02-03 20:01:04 -05:00
BookMetadataCache.cpp Merge branch 'master' into feature/add-epub-css-parsing 2026-01-27 20:24:38 -05:00
BookMetadataCache.h Merge branch 'master' into feature/add-epub-css-parsing 2026-01-27 20:24:38 -05:00
Page.cpp Use sane smaller data types for data in section.bin (#188) 2025-12-31 13:11:36 +11:00
Page.h Add exFAT support (#150) 2025-12-30 16:09:30 +11:00
ParsedText.cpp refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines 2026-02-03 20:01:04 -05:00
ParsedText.h refactor: merge TextBlock::Style into BlockStyle; use bitflag underlines 2026-02-03 20:01:04 -05:00
Section.cpp Merge branch 'master' into feature/add-epub-css-parsing 2026-02-01 09:47:23 -05:00
Section.h feat(ui): change popup logic (#442) 2026-02-01 18:41:24 +11:00