| Name | Modified | Size | Downloads / 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%+.
- Resolution of GitHub Issue [#10] (No More Double-Vision Overlapping Text): Eliminated the legacy behavior where
.pubfiles containing small embedded icons triggered a full-page raster background image (with baked-inDejaVu Sanstext) beneath left-anchoredsans-serifforeground text boxes with an 8-direction whitetext-shadowhalo (haloCSS). Text elements now render on a clean canvas without duplicate background ghost text. - Native CSS
text-shadow& Shadow Layer Deduplication: Replaced cloned offset shadow text layers with native CSStext-shadowproperties directly on editable text elements. BothServerSide/server.js(deduplicateShadowFrames) andio/file-io.js(deduplicateAndExtractShadows) automatically detect duplicate offset<text>or<draw:frame>nodes emitted bylibmspub, merge them into a single editable element, and convert the coordinate offset (dx,dy) and shadow color into native CSStext-shadow. - Horizontal Line, Centered Layout & Side Callout Reconstruction: Built
reconstructPublisherElementsinwindow.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 asTV name: JHR,TV name: HRCONF, andTV name: Conf 4), and resolve vertical collisions caused bylibmspubfont substitution. - Inline Windows Key Badge & Symbol / PUA Glyph Mapping:
- Detects inline keyboard shortcut icons (such as the Windows logo key before
+ Kand insideTo mirror your screen, press [⊞] + P and select) via optical ink density scanning (findInlineKeyIcon) and embeds a crisp vectorinline-block<span>badge directly inside the editable text flow. - 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”). - Metric-Compatible Windows Font Stack Mapping: Maps common Windows and
libmspubfallback fonts (DejaVu Sans,Liberation Sans,Calibri,Cambria,Franklin Gothic,Tahoma,Segoe UI,Consolas,Garamond, etc.) to metric-compatible system and web font stacks viamapPublisherFont(), preventing line width expansion and text box overflow. - Dual PDF + ODG ServerSide Pipeline & Per-Element Vector Fallbacks:
- Upgraded
ServerSide/server.jsto extract standalone embedded images (Pictures/*), paragraph alignments, and native shadow properties from OpenDocument Drawing (.odg) archives alongside the PDF export. - Added per-element vector fallback support (
parseLibmspubSvgandextractOdgStructure): while preserving the global "Open as flat image" option when importing a.pubfile, 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. - Automatic Legacy
.opubMigration & Repair on Load: - Hooked
window.OpenPubImporter.sanitizeLegacyOpubDataintowindow.handlePublisherFileLoad(io/publisher-file-loader.js) so already-exported legacy.opubfiles suffering from full-page ghost backgrounds,haloCSS, or cloned shadow layers (includingtest-files/ExamplePubImport.opub) are automatically repaired and centered when opened in the editor. - Version Synchronization:
- About dialog subtitle in
extensions/ui-interactions.jsupdated toFree Online Desktop Publishing Tool • v5.11.13. - Application headers in
core/boot.js,core/core.js,extensions/print-engine.js,extensions/ui-interactions.js, andelements/wordart/legacy-wordart.jsbumped tov5.11.13. - Service Worker cache upgraded to
open-publisher-v5-11-13insw.js. - Asset cachebusters across all 85 resource tags in
index.htmlupdated 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.pubflyer contained 3 instruction slips, each with 2 small raster images of the Windows logo key (⊞). Those 6 tiny images triggeredhasImages = truein the legacy PDF importer. WhenhasImageswastrue, the importer rendered the entire PDF page (including allDejaVu Sanstext) as a full-page background JPEG (zIndex: 1) and placed 32 left-alignedfont-family: sans-serif(Arial) text boxes (zIndex: 10..41) on top with a 2px whitetext-shadowhalo (haloCSS). - Because Arial has narrower character metrics than
DejaVu Sansand the text boxes lackedtext-align: center, the foreground text drifted left while the wider background raster text bled out from behind the 2px halo on every line. - Furthermore,
libmspubfont substitution shifted lines 4-6 of each slip up by ~52px relative to the floating[⊞] + K,TV name: ..., and[⊞] + Pcallouts, causing+ KandTV nameto overlapThis will bring up a menu...and stranding+ Pdown on top of“Duplicate”instead of inside the blank horizontal gap ofTo mirror your screen, press and select. - The Solution:
- Removed the full-page raster text background and the 8-direction white
haloCSShack. - Added optical inline icon detection (
findInlineKeyIcon) to scan the rendered PDF canvas in the region immediately preceding+ Kand+ Pshortcuts, embedding a clean vectorinline-block<span>Windows logo badge directly into the editable text span. - Added gap-docking logic in
reconstructPublisherElementsso 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
.pubimports 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) anddeduplicateShadowFrames(ServerSide) identify co-located text elements with matching normalized text within a0.2px - 18pxoffset radius, merge them into a single editable element, and applytext-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
.pubdocuments previously required either flattening the entire page into an uneditable image or losing the vector graphic completely. - The Solution: Both
ServerSide/server.js(extractOdgStructure) andio/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, andWingdingsPUA 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 redTV name: JHRcallout.
📁 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 thattest-files/ExamplePubImport.opubloads with zero duplicate background ghost text, accurate horizontal centering across all 3 slips, inline vector Windows key badges before+ Kand+ P, aligned redTV name: JHR/HRCONF/Conf 4callouts, and repaired“Duplicate”curly quotes (v5_11_12_pub_import_issue10_repaired.png). - [x] Synthetic Government Letter Verified: Verified that
SYNTHETIC_GOV_LETTER_SVGrenders with left-aligned headings, native CSStext-shadowmerged from duplicate offset<text>nodes, per-element vector seal fallback at top-left, and PUAWingdingsglyphs converted to Unicode✔and☎(v5_11_12_pub_synthetic_gov_letter.png). - [x] Synthetic Centered Flyer Verified: Verified that
SYNTHETIC_CENTERED_FLYER_ISSUE10_SVGrenders with centered multi-<tspan>formatting (Windows Key + Kin bold blue inline withon your keyboard), native CSStext-shadowon 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, andelements/wordart/legacy-wordart.jsare all synchronized tov5.11.13.
🎉 Version 5.11.13 - Open Publisher