| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-10-30 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-30 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-30 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-30 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-30 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-30 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-30 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-30 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-10-30 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-30 | 185.5 MB | |
| 5.13.1_ Direct PDF Document Opening, Editable Layout Reconstruction source code.tar.gz | 2026-10-30 | 23.5 MB | |
| 5.13.1_ Direct PDF Document Opening, Editable Layout Reconstruction source code.zip | 2026-10-30 | 23.8 MB | |
| README.md | 2026-10-30 | 7.5 kB | |
| Totals: 13 Items | 1.8 GB | 0 | |
π Summary
Version 5.13.1 brings native, direct support for opening and editing standard PDF (.pdf) files directly in OpenPublisher. While OpenPublisher previously relied on remote server conversion for proprietary binary formats like Microsoft Publisher (.pub), native PDF documents are parsed and reconstructed entirely client-side using OpenPublisher's embedded vector and typography pipeline. When users open a PDF document through the File menu, the Dashboard dropzone, or by dragging and dropping any PDF file directly into the application window, an interactive pre-flight modal provides a choice between two distinct extraction modes: Editable Text Mode (which parses and reconstructs fonts, sizes, colors, letter spacing, text boxes, and vector page layouts as fully editable canvas elements) and Flattened Image Mode (which renders high-resolution 2.5x rasterized pages for 100% exact visual fidelity). Because native PDF ingestion runs purely in local browser memory via pdfjsLib, documents open instantly without network overhead, remote server dependencies, or privacy exposure. All file dialog filters, drag-and-drop ingestion listeners, dashboard descriptions, Service Worker cache definitions, asset cachebusters, and version markers across the repository have been updated and synchronized to version 5.13.1.
π Enhancements & Fixes
- Direct Client-Side PDF Opening & Ingestion (
io/file-io.js): - Zero Remote Dependency: Native
.pdffiles bypass remote conversion servers entirely, utilizing browserFileReaderand localpdfjsLibprocessing to read and parse documents offline in milliseconds. - Pre-Flight Import Mode Selection:
- Editable Text Mode: Intelligently extracts individual text lines, font families, font weights, font sizes, text alignments, text colors, and bounding boxes into editable OpenPublisher canvas text boxes. It automatically detects and embeds raster graphics and vector artwork onto the canvas alongside the text.
- Flattened Image Mode: Renders each page to a crisp, high-resolution 2.5x canvas image and attaches it as a background page element. This mode preserves 100% exact visual layout fidelity for documents where text editing is not required.
- Real-Time Visual Progress Feedback:
- Animated progress bar tracking reading, structure analysis, and page-by-page rendering in real time (
#convert-progress-pdfand#convert-status-pdf). - Clean status messages informing users whether pages are being rendered or text is being extracted.
- Animated progress bar tracking reading, structure analysis, and page-by-page rendering in real time (
- Multi-Page Layout Reconstruction:
- Automatically derives each page's width and height in points and pixels using standard 96/72 screen-to-print ratio calculations.
- Reconstructs complete multi-page documents in
state.pageswith unique page identifiers. - Updates page minimap thumbnails (
updateThumbnails()), canvas layout (renderPage()), element sidebar (updateSidebar()), and undo/redo history (pushHistory()). - Automatically sets document title from the uploaded PDF filename and triggers a floating toast confirmation notification.
- UI & Ingestion Integration:
- File Open Dialogs: Updated
#file-openand#document-uploadfile inputacceptattributes inindex.htmlto support.pdf. - File Handler Delegation (
io/file-io.js): Updatedfile-openevent listener andhandleFileUploadhandler to detect.pdfextensions and route them intoopenPdfDocument(file). - Drag and Drop Routing (
extensions/ui-interactions.js): ExtendedhandleDrophandler so dragging and dropping.pdffiles anywhere onto the canvas, document window, or start screen immediately launches the PDF import engine. - Dashboard Dropzone: Updated open tab dropzone subtitle in
index.htmlto highlight.pdfsupport (Supports .opub, .json, .pdf, .pub, .doc, .docx). - System Synchronization & Version Bump (v5.13.1):
- Service Worker Cache: Bumped cache name to
open-publisher-v5-13-1insw.js. - Asset Cachebusters: Updated all 91 stylesheet and script query strings in
index.htmlfrom?v=5.13.0to?v=5.13.1. - Template Asset Helper: Updated
window.getTemplateAssetUrlinelements/templates/templates.jsto use?v=5.13.1. - Core Diagnostics & Engine Markers: Synchronized version markers across
core/boot.js,core/core.js,elements/charts/charts.js,elements/progress-bar/progress-bar.js,elements/templates/templates.js,elements/wordart/legacy-wordart.js,extensions/print-engine.js,extensions/system-patches.js,extensions/ui-interactions.js,io/export/canvas-renderer.js,ui/dashboard.js,ui/menus.js, andstyle.css.
β Checklist Completed
- [x] Client-Side PDF Document Processing
- [x] Implement
window.openPdfDocument(file)inio/file-io.js - [x] Integrate local
FileReader.readAsArrayBufferpipeline - [x] Implement Pre-flight modal with Editable Text and Flattened Image mode choices
- [x] Implement real-time progress indicator bar with status telemetry
- [x] Parse multi-page documents with accurate 96/72 viewport dimensions
- [x] Integrate
window.OpenPubImporter.processPdfPagefor typography and text box extraction - [x] Integrate 2.5x high-res canvas rendering for Flattened Image mode
- [x] Populate
state.pages, initialize history, triggerrenderPage, and update UI - [x] File Open & Drag-and-Drop Ingestion
- [x] Update
#file-openinput accept attribute to include.pdf - [x] Update
#document-uploadinput accept attribute to include.pdf - [x] Add PDF routing to
file-openchange event inio/file-io.js - [x] Update
handleDropinextensions/ui-interactions.jsto process.pdffiles - [x] Update Dashboard dropzone description text in
index.html - [x] System Synchronization to Version 5.13.1
- [x] Update
sw.jscache name toopen-publisher-v5-13-1 - [x] Update all 91 cachebuster query strings in
index.htmlto?v=5.13.1 - [x] Synchronize version headers across all core scripts, engines, and stylesheets
- [x] Automated Verification Testing
- [x] Generate 2-page test PDF document with headings, text, and vector lines
- [x] Verify Editable Text Mode extraction via headless Playwright browser test
- [x] Verify Flattened Image Mode rendering via headless Playwright browser test
- [x] Verify multi-page canvas population, document title naming, and element structure
π§ͺ Verification & Testing
- Automated Playwright Browser Suite:
- Built an automated test suite (
verify_pdf_import.py) generating a 2-page vector test PDF with multiple text blocks and rules. - Verified that selecting the PDF triggers the interactive pre-flight modal.
- Verified that Editable Text Mode extracts all text lines into canvas elements, correctly loading 2 pages and setting the document title to
test_document. - Verified that Flattened Image Mode renders high-resolution data URLs and places them cleanly on the pages.
- Confirmed all Playwright assertions passed with zero console exceptions.
- Version Telemetry Verification:
- Confirmed
git grep "5.13.0"returns 0 remaining occurrences. - Verified that Service Worker registers under
open-publisher-v5-13-1. - Verified that all cachebuster query strings in
index.htmlpoint to?v=5.13.1.