Commit Graph

12 Commits

Author SHA1 Message Date
Developer
2e6ac83759 fix: resolve spine manifest IDs to file paths for TOC section matching 2026-05-23 08:25:05 +08:00
1d2407098c Add anchor-based TOC navigation: parse #fragment anchors, find exact page within section 2026-05-22 17:56:48 +08:00
Developer
f12297d580 fix: TOC navigation and pagination improvements
- Fix recalculate_pages missing heading_top_spacing in page height calculation
- Improve build_toc path matching: extract filename first, fall back to substring
- Filter out EPUB3 nav.xhtml from content sections
- Skip Windows resource compilation when windres is not available
- Add unit tests for TOC filename matching and nav filtering
2026-05-21 22:32:18 +08:00
Developer
6bd96cd913 改进标题渲染:按层级差异化显示(字号/加粗/间距/对齐) 2026-05-17 22:06:53 +08:00
af03d18470 feat: 响应式分页引擎 - 基于egui Galley精确测量替代字符计数 2026-05-16 12:11:26 +08:00
Developer
669650147b feat(layout): detect reflowable vs fixed-layout EPUB, fix pagination overflow 2026-05-15 21:11:57 +08:00
19336d5d34 标题粗体显示:h1-h6 标题在正文中标粗区分 2026-05-15 12:09:11 +08:00
Developer
16f801cdf8 feat: improve HTML text extraction with paragraph preservation, add reading margins, paragraph-aware pagination 2026-05-14 20:43:29 +08:00
Developer
79d2fcd75c fix: address code review issues in EpubLoader 2026-05-13 23:16:50 +08:00
Developer
5f66478c26 Implement EpubLoader with load_epub, extract_title, and build_toc functions 2026-05-13 23:09:01 +08:00
Developer
072a47378d Define core data models for book and theme 2026-05-13 23:02:04 +08:00
Developer
2bdb8a90b9 Initial project scaffold: Rust egui ePub reader
- Cargo.toml with eframe, egui, epub, rfd, serde dependencies
- Source modules: app, book, font, persistence, reader, theme
- MinGW static linking config
- .gitignore for build artifacts
2026-05-13 22:56:10 +08:00