Commit Graph
271 Commits
Author SHA1 Message Date
jpirnay a176b3fa6d Merge pull request #162 from spfenwick/fix-oom-crash
fix: Avoid OOM crash when using SD font with many kern pairs
2026-05-02 21:09:43 +02:00
jpirnay 99c5f7207c Merge pull request #163 from jpirnay/feat-sdfonts-ui
feat: Complete sdfonts integration
2026-05-02 21:08:07 +02:00
jpirnayandCopilot cc9ff5bae9 More review changes
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:42:45 +02:00
jpirnayandCopilot 06dfc6c50b Recover parts of the regression fiasco
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 18:19:23 +02:00
spfenwick 3835236961 Address nitpick review comments 2026-05-02 20:23:29 +12:00
spfenwick 13a76597d4 Address review comment: check block size as soon as each word is added. 2026-05-02 19:38:38 +12:00
spfenwick 3f4db13c29 Fix formatting 2026-05-02 17:07:10 +12:00
spfenwick 0a5fee2839 Address review comment: fix bionic reading on continuation 2026-05-02 16:59:03 +12:00
spfenwick c04ec25dc7 Address review comment: also suppress CSS styling on continuation 2026-05-02 16:58:53 +12:00
spfenwick 40c3ecbada When a large paragraph is split across blocks, don't treat the continuation as a new paragraph 2026-05-02 16:07:27 +12:00
spfenwick 5928f32364 Avoid OOM diring HTML parsing by reducing max block size and freeing unneeded buffers 2026-05-02 16:07:27 +12:00
jpirnay c88e6f3170 Increase variants 2026-05-01 16:53:41 +02:00
jpirnay 67706edc1a Implement smarter section caching 2026-05-01 16:52:34 +02:00
jpirnay e9870534dd Merge pull request #157 from jpirnay/feat-viet-preproc
feat: Embrace vietnamese character preprocessing from crosspet
2026-04-30 15:36:45 +02:00
jpirnay 42ad7667c4 Merge pull request #156 from jpirnay/feat-bionic
feat: Add yet another bionic reader implementation
2026-04-30 15:11:10 +02:00
jpirnay de62bcf591 Embrace vietnamese preprocessing from crosspet 2026-04-30 15:07:04 +02:00
jpirnayandCopilot 0dda02cafc Proper word recognition
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:53:03 +02:00
jpirnayandCopilot b6c90fdac6 Add constants
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 12:12:28 +02:00
jpirnay 867bd34798 A couple of fixes 2026-04-30 12:08:30 +02:00
jpirnayandCopilot cefed0f6ce Yet another bionic reading implementation
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 09:11:49 +02:00
jpirnay 2df99a230f Fix png decoder 2026-04-29 21:06:46 +02:00
jpirnay 4cc793397f yaclf 2026-04-29 17:17:24 +02:00
jpirnayandCopilot dbf50c2a82 aAdjust strikethrough offset
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 14:12:59 +02:00
jpirnayandCopilot fea663ac64 Fix markdown underline / strikethrough omission
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 13:28:26 +02:00
jpirnay 91b42646f2 Make text-decoration:none emit an explicit override. 2026-04-29 12:21:43 +02:00
jpirnay a0243ad6de Review comments 2026-04-29 11:26:50 +02:00
jpirnay b83482e732 Support strikethrough 2026-04-29 09:08:07 +02:00
jpirnay 1f10e91c23 Preserve continuation boundaries when building SD prewarm text 2026-04-28 18:40:37 +02:00
jpirnay 639a9f350c Address hyphen review comment 2026-04-28 16:18:53 +02:00
jpirnay aa9fae16d9 Integrate upstream #1392 by adriancaruana 2026-04-28 10:00:22 +02:00
jpirnay ad7789f53d Introduce toc caching 2026-04-27 11:19:42 +02:00
jpirnay dbd2ce8541 Merge pull request #131 from jpirnay/fix-css-text-indent
feat: Honor css defined paragraph intent (and clamp it if necessary)
2026-04-25 11:28:40 +02:00
jpirnay 81a784985e yaclf 2026-04-25 11:19:39 +02:00
jpirnayandCopilot 12372aaafc Clamp indent to page dimensions
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 11:19:04 +02:00
jpirnay c8a2332ed3 Add recommendation 2026-04-25 11:14:21 +02:00
jpirnay 6060607bda Eliminate tmp file creation 2026-04-25 10:54:32 +02:00
jpirnay be6b7fa0c6 Finer granularity of popup methods 2026-04-25 10:32:49 +02:00
jpirnay 920a9e035c Reduce popup progress frequency 2026-04-25 10:24:04 +02:00
jpirnay 17ea700538 Honor css defined paragraph intent 2026-04-25 09:17:26 +02:00
jpirnay 37395f8e0f Final review 2026-04-24 19:42:18 +02:00
jpirnay 7291ccacc8 Further code review 2026-04-24 16:23:14 +02:00
jpirnay c4498cd535 Merge branch 'master' of https://github.com/jpirnay/crosspoint-reader into feat-rendering-perf 2026-04-24 15:47:47 +02:00
jpirnay e0e3bd4251 Fix reindexing on toc-page-break 2026-04-23 13:15:30 +02:00
jpirnay 700d7b442b fix: Erroneous navigation with long filenames in footnote links (#1723) 2026-04-23 09:39:58 +02:00
jpirnayandClaude Sonnet 4.6 e4170e2272 Font rendering performance improvements
- FontDecompressor: replace heap-allocated std::vector hot-group and glyph
  scratch buffers with static BSS arrays, eliminating per-page malloc/free
  and the heap fragmentation it causes during rendering
- FontDecompressor: add bounds checks on group/glyph buffer sizes; sort
  prewarm group list by ascending index for sequential flash reads
- ParsedText: upgrade line-break cost function to Knuth-Plass cubic badness
  (strongly penalises very loose lines, lenient on moderate looseness)
- ParsedText: exclude gaps before closing punctuation (. , ) » etc.) from
  justification distribution so they stay at natural space width

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 07:33:39 +02:00
jpirnay 83fe041a6b Merge pull request #109 from jpirnay/kosync_extension
refactor: Picking up some itsthisjustin ideas for KOreader synchronisation
2026-04-20 14:21:31 +02:00
jpirnay 440d64e48e Nitpick comments 2026-04-20 14:16:13 +02:00
jpirnay 29284c85c9 Review comments 2026-04-20 13:28:56 +02:00
jpirnay 3fb9ac9e29 Finetuning 2 2026-04-20 13:15:05 +02:00
jpirnay 5e4f78f7be Finetuning 2026-04-20 12:28:00 +02:00