Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.19.8
Name Modified Size InfoDownloads / Week
Parent folder
5.19.8_ Legacy WordArt Custom Font Color Print Baking Fix source code.tar.gz 2026-11-09 103.6 MB
5.19.8_ Legacy WordArt Custom Font Color Print Baking Fix source code.zip 2026-11-09 104.1 MB
README.md 2026-11-09 6.3 kB
OpenPublisher5-i386-windowsXP.exe 2026-11-09 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-11-09 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-09 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-09 233.1 MB
openpublisher5_amd64-linux.run 2026-11-09 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-09 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-09 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-09 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-09 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-09 185.5 MB
Totals: 13 Items   1.9 GB 0

πŸ“‹ Summary

Version 5.19.8 resolves a critical rendering issue where legacy WordArt styles with white text and dark borders (such as Style 9 with Pacifico font and Style 43 with black outlines) reverted back to white text in the print and PDF output when users applied custom font colors (such as orange, yellow, and coral).

While custom colors appeared accurately inside the interactive canvas editor, the print serializer and rasterization engines previously stripped inline styling tags and bypassed fill colors, causing the default CSS style rule to override the custom palette. With this update, multi-colored lines and words, custom text fill overrides, synchronous print spooler color locking, and non-destructive print pipelines ensure 100% faithful color reproduction across physical printing, native browser print dialogs (Ctrl+P), PDF export, and canvas image capture. Full application version synchronization has been completed across Service Worker cache buckets (open-publisher-v5-19-8-1), the About dialog, and asset cachebusters.

op-LegacyWordArtCustomFontColorAndPrintBakingFix


πŸ› οΈ Key Enhancements & Fixes

1. Rich XHTML Serialization for WordArt Print Baking

  • Inline Styling & Tag Preservation: Added getWordArtXhtmlContent to parse and serialize WordArt text into valid XHTML within SVG <foreignObject> elements. Child <span style="color: ..."> tags, <font color="..."> declarations, and line breaks are fully preserved rather than stripped to plain text.
  • Fill Color Priority: Injected -webkit-text-fill-color matching each element's custom color to guarantee that CSS class rules (such as .wa-style-9 and .wa-style-43 { color: white; }) cannot override user-chosen font colors.
  • Multi-Line & Per-Word Coloring: Complex multi-colored headlines (e.g. alternating lines in yellow and coral) now bake with complete fidelity at 4.0x print scale.

2. Canvas 2D Precision Fallback & Color Priority

  • User Color Detection: Enhanced renderCanvas2DWordArt to inspect child span formatting and explicit inline styling before evaluating computed rule colors, ensuring custom colors are never masked by default white style rules.
  • Formatted Children Routing: Added auto-detection in resolveWordArtTargets to route multi-colored or multi-line WordArt nodes directly to the high-fidelity SVG ForeignObject engine for perfect typographic fidelity.

3. Non-Destructive Print Spooler Pipeline

  • Tag-Preserving Space Normalization: Upgraded fixWordArtSpacesInHtml in extensions/print-engine.js to split on HTML tokens, replacing spaces only within text nodes while strictly preserving all <span style="..."> and <font color="..."> markup.
  • Synchronous Color Enactment: Enforced immediate, synchronous color hoisting (color: ... !important; -webkit-text-fill-color: ... !important;) directly onto .wa-text elements in the print spooler (scaler) and export staging areas (pageWrapper) before any asynchronous snapshot occurs.
  • Synchronous Print Fast-Path: Enabled immediate synchronous 2D rasterization for supported typography styles in buildPrintDOM so the browser's native print preview snapshot never captures unbaked white DOM.
  • Print Rescue Style Guard: Updated forceInlineTextStyles in extensions/legacy-fixes.js to exclude WordArt containers so computed white stylesheet rules cannot overwrite user-selected palette overrides.

4. Direct WordArt Text Color Controls

  • Object & Range Support: Extended execCmd('foreColor', val) in elements/text/text.js to recognize WordArt elements directly. Selecting the WordArt object as a whole applies the chosen color to the entire element and its internal fill; highlighting a specific substring or line applies the color cleanly to the selected range while hoisting the baseline color onto the container.

πŸ”„ Version Synchronization (v5.19.8)

Component Target Version Updated Reference
Service Worker v5.19.8 open-publisher-v5-19-8-1 in sw.js
About Dialog v5.19.8 Free Online Desktop Publishing Tool β€’ v5.19.8 in extensions/ui-interactions.js
UI Interactions Header v5.19.8 Header documentation in extensions/ui-interactions.js
Proofing Dictionary v5.19.8 Header and log documentation in tools/proofing/dictionary.js
Spellcheck Engine v5.19.8 Header documentation in tools/proofing/spellcheck-engine.js
PWA Installer v5.19.8 Registration query sw.js?v=5.19.8 in extensions/pwa-install.js
Application Cachebusters v5.19.8 All 97 script and stylesheet links updated to ?v=5.19.8 in index.html
Dashboard Controller v5.19.8 Template asset cachebusters updated to ?v=5.19.8 in ui/dashboard.js
Template Asset Loaders v5.19.8 getTemplateAssetUrl updated to ?v=5.19.8 in elements/templates/templates.js
README Documentation v5.19.8 Badge asset cachebusters updated to ?v=5.19.8 in README.md

βœ… Checklist Completed

  • [x] Preserve <span style="color: ..."> and <font color="..."> in legacy WordArt print baking
  • [x] Synchronize -webkit-text-fill-color to prevent .wa-style-9 and .wa-style-43 white color overrides
  • [x] Retain multi-line formatting and per-word / per-line custom colors in baked print output
  • [x] Support direct font color application to WordArt from ribbon, floating bar, and context menu
  • [x] Protect intact DOM from premature flattening or stripping in fixWordArtSpacesInHtml
  • [x] Guard forceInlineTextStyles from applying computed white styles onto WordArt nodes
  • [x] Pass automated browser verification tests with 0 reverted white pixels across native and direct print
  • [x] Bump Service Worker cache bucket to open-publisher-v5-19-8-1 in sw.js
  • [x] Bump all asset cachebusters to ?v=5.19.8 across HTML, scripts, templates, and documentation
  • [x] Maintain clean local git commit ready for user push

πŸš€ Version 5.19.8 - Open Publisher

Source: README.md, updated 2026-11-09