Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.11.13
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-10-24 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-10-24 183.2 MB
openpublisher5_amd64-windows.exe 2026-10-24 165.2 MB
openpublisher5_amd64-macos.dmg 2026-10-24 233.1 MB
openpublisher5_amd64-linux.run 2026-10-24 193.4 MB
openpublisher5_amd64-linux.rpm 2026-10-24 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-10-24 153.6 MB
openpublisher5_amd64-linux.deb 2026-10-24 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-10-24 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-10-24 185.5 MB
5.11.13_ Microsoft Publisher (.pub) Import Pipeline Overhaul _ Native Shadow Reconstruction source code.tar.gz 2026-10-24 23.4 MB
5.11.13_ Microsoft Publisher (.pub) Import Pipeline Overhaul _ Native Shadow Reconstruction source code.zip 2026-10-24 23.7 MB
README.md 2026-10-24 12.6 kB
Totals: 13 Items   1.8 GB 0

🚀 Summary

Version 5.11.13 delivers a complete overhaul of the Microsoft Publisher (.pub) and Microsoft Word (.doc / .docx) import pipeline across both the ServerSide conversion microservice and the OpenPublisher Frontend Editor (io/file-io.js and io/publisher-file-loader.js), resolving GitHub Issue [#10] ([BUG] Microsoft Publisher import quirks #10) and elevating .pub import visual and editable compatibility from ~20% to 90%+.

  1. Resolution of GitHub Issue [#10] (No More Double-Vision Overlapping Text): Eliminated the legacy behavior where .pub files containing small embedded icons triggered a full-page raster background image (with baked-in DejaVu Sans text) beneath left-anchored sans-serif foreground text boxes with an 8-direction white text-shadow halo (haloCSS). Text elements now render on a clean canvas without duplicate background ghost text.
  2. Native CSS text-shadow & Shadow Layer Deduplication: Replaced cloned offset shadow text layers with native CSS text-shadow properties directly on editable text elements. Both ServerSide/server.js (deduplicateShadowFrames) and io/file-io.js (deduplicateAndExtractShadows) automatically detect duplicate offset <text> or <draw:frame> nodes emitted by libmspub, merge them into a single editable element, and convert the coordinate offset (dx, dy) and shadow color into native CSS text-shadow.
  3. Horizontal Line, Centered Layout & Side Callout Reconstruction: Built reconstructPublisherElements in window.OpenPubImporter (io/file-io.js) to merge fragmented horizontal text spans onto unified baselines with inline <span> styling (preserving mixed colors, bold/italic weights, and font sizes within the same line), accurately detect centered layouts versus left-aligned document columns and right-side callouts (such as TV name: JHR, TV name: HRCONF, and TV name: Conf 4), and resolve vertical collisions caused by libmspub font substitution.
  4. Inline Windows Key Badge & Symbol / PUA Glyph Mapping:
  5. Detects inline keyboard shortcut icons (such as the Windows logo key before + K and inside To mirror your screen, press [⊞] + P and select) via optical ink density scanning (findInlineKeyIcon) and embeds a crisp vector inline-block <span> badge directly inside the editable text flow.
  6. Translates Private Use Area (\uE000-\uF8FF) and symbol font (Wingdings, Webdings, Symbol, Segoe UI Symbol) character codes into standard Unicode glyphs (⊞, ✔, ☎, ✉, ★, arrows, and bullets) and repairs corrupted replacement-character smart quotes (\uFFFDDuplicate\uFFFD -> “Duplicate”).
  7. Metric-Compatible Windows Font Stack Mapping: Maps common Windows and libmspub fallback fonts (DejaVu Sans, Liberation Sans, Calibri, Cambria, Franklin Gothic, Tahoma, Segoe UI, Consolas, Garamond, etc.) to metric-compatible system and web font stacks via mapPublisherFont(), preventing line width expansion and text box overflow.
  8. Dual PDF + ODG ServerSide Pipeline & Per-Element Vector Fallbacks:
  9. Upgraded ServerSide/server.js to extract standalone embedded images (Pictures/*), paragraph alignments, and native shadow properties from OpenDocument Drawing (.odg) archives alongside the PDF export.
  10. Added per-element vector fallback support (parseLibmspubSvg and extractOdgStructure): while preserving the global "Open as flat image" option when importing a .pub file, individual complex vector groups or seals that cannot be converted into simple primitives are flattened into bounded image layers at their exact coordinates while keeping all surrounding text boxes 100% editable.
  11. Automatic Legacy .opub Migration & Repair on Load:
  12. Hooked window.OpenPubImporter.sanitizeLegacyOpubData into window.handlePublisherFileLoad (io/publisher-file-loader.js) so already-exported legacy .opub files suffering from full-page ghost backgrounds, haloCSS, or cloned shadow layers (including test-files/ExamplePubImport.opub) are automatically repaired and centered when opened in the editor.
  13. Version Synchronization:
  14. About dialog subtitle in extensions/ui-interactions.js updated to Free Online Desktop Publishing Tool • v5.11.13.
  15. Application headers in core/boot.js, core/core.js, extensions/print-engine.js, extensions/ui-interactions.js, and elements/wordart/legacy-wordart.js bumped to v5.11.13.
  16. Service Worker cache upgraded to open-publisher-v5-11-13 in sw.js.
  17. Asset cachebusters across all 85 resource tags in index.html updated to ?v=5.11.13.

🔍 Deep Dive: Root Cause Analysis & Architectural Fixes

1. Why GitHub Issue [#10] Had Severe Double-Vision Text

  • The Problem: In ExamplePubImport.opub, the source .pub flyer contained 3 instruction slips, each with 2 small raster images of the Windows logo key (⊞). Those 6 tiny images triggered hasImages = true in the legacy PDF importer. When hasImages was true, the importer rendered the entire PDF page (including all DejaVu Sans text) as a full-page background JPEG (zIndex: 1) and placed 32 left-aligned font-family: sans-serif (Arial) text boxes (zIndex: 10..41) on top with a 2px white text-shadow halo (haloCSS).
  • Because Arial has narrower character metrics than DejaVu Sans and the text boxes lacked text-align: center, the foreground text drifted left while the wider background raster text bled out from behind the 2px halo on every line.
  • Furthermore, libmspub font substitution shifted lines 4-6 of each slip up by ~52px relative to the floating [⊞] + K, TV name: ..., and [⊞] + P callouts, causing + K and TV name to overlap This will bring up a menu... and stranding + P down on top of “Duplicate” instead of inside the blank horizontal gap of To mirror your screen, press and select.
  • The Solution:
  • Removed the full-page raster text background and the 8-direction white haloCSS hack.
  • Added optical inline icon detection (findInlineKeyIcon) to scan the rendered PDF canvas in the region immediately preceding + K and + P shortcuts, embedding a clean vector inline-block <span> Windows logo badge directly into the editable text span.
  • Added gap-docking logic in reconstructPublisherElements so floating shortcut badges ([⊞] + P) automatically dock into the horizontal gap between "To mirror your screen, press" and "and select".
  • Added vertical slip overlap resolution so body lines below large display shortcut callouts ([⊞] + K + TV name: ...) maintain clean vertical spacing.

2. Native CSS Shadows vs. Cloned Shadow Nodes

  • The Problem: Legacy .pub imports simulated letter shadows by keeping duplicate offset <text> layers or cloned DOM nodes. On centered layouts or lines with mixed font weights, the shadow node and foreground node calculated different widths and expanded outward from the center at different rates.
  • The Solution: deduplicateAndExtractShadows (frontend) and deduplicateShadowFrames (ServerSide) identify co-located text elements with matching normalized text within a 0.2px - 18px offset radius, merge them into a single editable element, and apply text-shadow: <dx>px <dy>px <blur>px <color> directly to the text container.

3. Per-Element Vector Fallback & Synthetic Regression Harness

  • The Problem: Complex vector emblems, seals, or WMF/EMF graphics in .pub documents previously required either flattening the entire page into an uneditable image or losing the vector graphic completely.
  • The Solution: Both ServerSide/server.js (extractOdgStructure) and io/file-io.js (parseLibmspubSvg) isolate complex vector groups into self-contained image elements at their exact bounding boxes (isImageFallback: true), keeping every heading, paragraph, and callout on the page 100% editable.
  • Synthetic Test Suite (test-files/synthetic-pub-regression-harness.js): Added automated regression test payloads for:
  • Government Notice Letter (SYNTHETIC_GOV_LETTER_SVG): Left-aligned official letterhead with duplicate offset shadow headings, per-element vector emblem fallback, body paragraphs, and Wingdings PUA glyphs (✔, ☎).
  • Centered Flyer Layout (SYNTHETIC_CENTERED_FLYER_ISSUE10_SVG): Centered multi-<tspan> lines with inline bold/color formatting, duplicate offset shadow nodes, PUA Windows key symbols, and right-aligned red TV name: JHR callout.

📁 Files Modified in 5.11.13

File Changes
ServerSide/server.js Overhauled .pub conversion pipeline with resolveLibreOfficePath(), sanitizePublisherText(), parseMeasureToPx(), deduplicateShadowFrames(), and extractOdgStructure(). Returns structuredPages and extractedImages alongside pdfData.
ServerSide/package.json Added adm-zip and @xmldom/xmldom dependencies for ODG XML and standalone image extraction.
io/file-io.js Added window.OpenPubImporter engine (mapPublisherFont, sanitizePublisherText, deduplicateAndExtractShadows, findInlineKeyIcon, reconstructPublisherElements, processPdfPage, parseLibmspubSvg, sanitizeLegacyOpubData) and updated uploadAndConvertPub() / uploadAndConvertDoc().
io/publisher-file-loader.js Hooked window.OpenPubImporter.sanitizeLegacyOpubData(rawData) into window.handlePublisherFileLoad to automatically repair legacy broken .opub imports on load.
test-files/ExamplePubImport.opub Repaired Issue [#10] .opub test file with clean centered lines, inline Windows key badges, aligned red TV name callouts, and repaired curly quotes (“Duplicate”).
test-files/synthetic-pub-regression-harness.js Created synthetic libmspub SVG regression test harness covering shadowed left-aligned government letters and centered mixed-format flyers.
extensions/ui-interactions.js Updated About dialog subtitle to Free Online Desktop Publishing Tool • v5.11.13. Bumped header and console log to v5.11.13.
core/boot.js Bumped Application Bootstrapper header to v5.11.13.
core/core.js Bumped Core Engine header to v5.11.13.
extensions/print-engine.js Bumped Print Engine headers to v5.11.13.
elements/wordart/legacy-wordart.js Bumped WordArt Engine headers to v5.11.13.
sw.js Bumped Service Worker cache name to open-publisher-v5-11-13 and header to v5.11.13.
index.html Updated all 85 asset cachebusters from ?v=5.11.12 to ?v=5.11.13.

✅ Verification Checklist

  • [x] GitHub Issue [#10] (ExamplePubImport.opub) Repaired & Verified: Verified in Playwright that test-files/ExamplePubImport.opub loads with zero duplicate background ghost text, accurate horizontal centering across all 3 slips, inline vector Windows key badges before + K and + P, aligned red TV name: JHR / HRCONF / Conf 4 callouts, and repaired “Duplicate” curly quotes (v5_11_12_pub_import_issue10_repaired.png).
  • [x] Synthetic Government Letter Verified: Verified that SYNTHETIC_GOV_LETTER_SVG renders with left-aligned headings, native CSS text-shadow merged from duplicate offset <text> nodes, per-element vector seal fallback at top-left, and PUA Wingdings glyphs converted to Unicode ✔ and ☎ (v5_11_12_pub_synthetic_gov_letter.png).
  • [x] Synthetic Centered Flyer Verified: Verified that SYNTHETIC_CENTERED_FLYER_ISSUE10_SVG renders with centered multi-<tspan> formatting (Windows Key + K in bold blue inline with on your keyboard), native CSS text-shadow on the title and "Duplicate", and inline Windows key symbols (v5_11_12_pub_synthetic_flyer.png).
  • [x] Version & Cachebusters Synchronized: Verified that index.html, sw.js, core/boot.js, core/core.js, extensions/ui-interactions.js, extensions/print-engine.js, and elements/wordart/legacy-wordart.js are all synchronized to v5.11.13.

🎉 Version 5.11.13 - Open Publisher

Source: README.md, updated 2026-10-24