Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.13.1
Name Modified Size InfoDownloads / 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 .pdf files bypass remote conversion servers entirely, utilizing browser FileReader and local pdfjsLib processing 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-pdf and #convert-status-pdf).
    • Clean status messages informing users whether pages are being rendered or text is being extracted.
  • 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.pages with 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-open and #document-upload file input accept attributes in index.html to support .pdf.
  • File Handler Delegation (io/file-io.js): Updated file-open event listener and handleFileUpload handler to detect .pdf extensions and route them into openPdfDocument(file).
  • Drag and Drop Routing (extensions/ui-interactions.js): Extended handleDrop handler so dragging and dropping .pdf files anywhere onto the canvas, document window, or start screen immediately launches the PDF import engine.
  • Dashboard Dropzone: Updated open tab dropzone subtitle in index.html to highlight .pdf support (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-1 in sw.js.
  • Asset Cachebusters: Updated all 91 stylesheet and script query strings in index.html from ?v=5.13.0 to ?v=5.13.1.
  • Template Asset Helper: Updated window.getTemplateAssetUrl in elements/templates/templates.js to 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, and style.css.

βœ… Checklist Completed

  • [x] Client-Side PDF Document Processing
  • [x] Implement window.openPdfDocument(file) in io/file-io.js
  • [x] Integrate local FileReader.readAsArrayBuffer pipeline
  • [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.processPdfPage for typography and text box extraction
  • [x] Integrate 2.5x high-res canvas rendering for Flattened Image mode
  • [x] Populate state.pages, initialize history, trigger renderPage, and update UI
  • [x] File Open & Drag-and-Drop Ingestion
  • [x] Update #file-open input accept attribute to include .pdf
  • [x] Update #document-upload input accept attribute to include .pdf
  • [x] Add PDF routing to file-open change event in io/file-io.js
  • [x] Update handleDrop in extensions/ui-interactions.js to process .pdf files
  • [x] Update Dashboard dropzone description text in index.html
  • [x] System Synchronization to Version 5.13.1
  • [x] Update sw.js cache name to open-publisher-v5-13-1
  • [x] Update all 91 cachebuster query strings in index.html to ?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

  1. Automated Playwright Browser Suite:
  2. Built an automated test suite (verify_pdf_import.py) generating a 2-page vector test PDF with multiple text blocks and rules.
  3. Verified that selecting the PDF triggers the interactive pre-flight modal.
  4. Verified that Editable Text Mode extracts all text lines into canvas elements, correctly loading 2 pages and setting the document title to test_document.
  5. Verified that Flattened Image Mode renders high-resolution data URLs and places them cleanly on the pages.
  6. Confirmed all Playwright assertions passed with zero console exceptions.
  7. Version Telemetry Verification:
  8. Confirmed git grep "5.13.0" returns 0 remaining occurrences.
  9. Verified that Service Worker registers under open-publisher-v5-13-1.
  10. Verified that all cachebuster query strings in index.html point to ?v=5.13.1.
Source: README.md, updated 2026-10-30