• v2.6.57
    All checks were successful
    Release / Test backend (push) Successful in 4m55s
    Release / Check ui (push) Successful in 1m52s
    Release / Docker (push) Successful in 7m13s
    Release / Gitea Release (push) Successful in 46s
    Stable

    gitea-actions released this 2026-04-09 22:37:04 +05:00 | -479 commits to main since this release

    Use PDF outline (bookmarks) for chapter titles and page ranges, then
    extract text from per-page content streams via pdfcpu ExtractContent.
    This avoids the indefinite hang caused by dslipak/pdf trying to resolve
    custom font ToUnicode CMaps on publisher PDFs.

    • parsePDF: decrypt → ExtractContent → Bookmarks → chaptersFromBookmarks
    • chaptersFromBookmarks: flatten bookmark tree, skip front/back matter
      (Cover, Insert, Title Page, Copyright, Appendix), assign page ranges
    • extractTextFromContentStream: handle TJ arrays (concat literal strings,
      skip hex glyph arrays and kerning numbers) + single Tj strings
    • Falls back to paragraph-splitting when no bookmarks present
    • Build verified; test PDF produces 9 chapters with proper titles
    Downloads