| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher-5-x86_64.AppImage | 2026-10-11 | 166.4 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-11 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-11 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-11 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-11 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-11 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-11 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-11 | 156.2 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-11 | 185.5 MB | |
| 5.7.3_ Picture Tools Image Glow _ Drop Shadow Print Rendering Fidelity source code.tar.gz | 2026-10-11 | 22.5 MB | |
| 5.7.3_ Picture Tools Image Glow _ Drop Shadow Print Rendering Fidelity source code.zip | 2026-10-11 | 22.8 MB | |
| README.md | 2026-10-11 | 9.1 kB | |
| Totals: 12 Items | 1.7 GB | 0 | |
π Summary
Version 5.7.3 resolves the print rendering failure where applying a Glow or Drop Shadow to an image via the Picture Tools ribbon menu appeared properly on the editor canvas but was omitted on prints.
Visual fidelity is now fully restored across both print pipelines:
- Physical Print & PDF Export Rasterizer: The high-resolution HTML5 Canvas 2D / html2canvas rasterizer pipeline (
bakeImageForPrint()andbuildPrintPageDOM()). - Native NW.js Desktop Spooler DOM: The desktop application native print spooler DOM pipeline (
buildPrintDOM()inextensions/print-engine.jsand fallback inio/file-io.js).
π Problems Solved & Root Cause Analysis
1. CSS Filter Color Parentheses Truncation in bakeImageForPrint()
- Root Cause: In
extensions/print-engine.js,bakeImageForPrint()used a greedy single-level regex/drop-shadow\(([^)]+)\)/gto extract and scale drop shadow parameters for high-resolution canvas baking. Because modern browsers serialize computed CSS filter colors with functional notation containing closing parentheses (such asrgba(0, 191, 255, 0.8)orrgba(0, 0, 0, 0.6)), the regex terminated prematurely on the first inner). - The Failure: This truncated the filter string into malformed CSS (for example:
drop-shadow(rgba(0, 191, 255, 0.8)without matching outer closing parentheses). The HTML5 Canvas 2D context (ctx.filter) silently rejected the invalid syntax and reverted tonone, causing glow and shadow effects to vanish from baked images. - The Fix: Replaced the shallow regex with balanced nested parentheses matching:
/drop-shadow\(((?:[^)(]+|\([^)(]*\))*)\)/g. This accurately captures the entire filter payload including nestedrgba(...)andrgb(...)definitions, correctly scaling offsets and blur radii.
2. History Serialization & Filter Consolidation Gap
- Root Cause: In
core/history.js,serializeCurrentPage()extracted styles primarily fromimg.style.filter. However, the Picture Tools ribbon actions (ContextRibbonActions.addGlowandaddDropShadow) apply drop shadows directly to.element-contentor the container to preserve element nesting. - The Failure: During document edits, page switches, and auto-save checkpoints, the filter applied to
.element-contentwas not consolidated intodata.imgStyle.filterordata.filter, leaving print pipelines with incomplete filter state. - The Fix: Updated
serializeCurrentPage()to inspect and combine filters acrossimg.style.filter,content.style.filter, andel.style.filter. Roguenonetokens are sanitized, and the unified filter is persisted into bothdata.filteranddata.imgStyle.filter.
3. Page Restoration & Overflow Unclipping
- Root Cause: When restoring, cloning, or navigating pages in
core/pages.js,renderPage()failed to cascadedata.filterback onto the image, and kept container elements clipped. - The Fix:
renderPage()now resolvesfinalFilterfroms.filter || data.filter || data.contentCssText || filterAttributes. When adrop-shadowis present, both the container element and.element-contenthaveoverflow = 'visible'applied to allow the shadow blur and spread to extend naturally past the element boundaries.
4. Native NW.js Desktop Print Spooler DOM Pipeline
- Root Cause: The NW.js Native Spooler pipeline (
buildPrintDOM()inextensions/print-engine.jsand fallback inio/file-io.js) rebuilds print elements directly from state objects. The image reconstruction previously neglectedel.imgStyle.filterandel.filter, and kept container divs at default overflow bounds. - The Fix:
buildPrintDOM()andio/file-io.jsnow extract the serialized filter fromel.imgStyle.filter,el.filter,el.contentCssText, orel.innerHTML, strip anynonevalues, assign the sanitized filter toimg.style.filter, and explicitly setelDiv.style.overflow = 'visible'.
5. Canvas 2D Padded Raster Blending & Layout Offset Alignment
- Root Cause:
bakeImageForPrint()generates a canvas padded bypadWandpadHto contain the expanded blur and spread radius. InbuildPrintPageDOM(), negative margins (-${baked.padX/2}px,-${baked.padY/2}px) and expanded dimensions (calc(100% + ${baked.padW/2}px)) were added to the image, but parent wrappers remained constrained. - The Fix: Enabled
overflow: visibleandcontain: noneon bothcropDivandelDiv, allowing the padded raster to display all shadow spread without clipping duringhtml2canvaspage composition.
6. Ribbon Action Synchronization
- Root Cause: In
ui/ui.js,ContextRibbonActions.addGlowandaddDropShadowconcatenated new filters onto existing filter strings without stripping obsolete'none'tokens or ensuring container elements allowed visible overflow. - The Fix: Sanitized existing filters to strip rogue
'none'tokens before appending the new drop-shadow directive, setoverflow = 'visible'on both the selected element and.element-content, and invokedpushHistory()for immediate synchronization.
π Files Modified
| File | Changes |
|---|---|
core/history.js |
Updated serializeCurrentPage() to inspect and consolidate filters across img.style.filter, content.style.filter, and el.style.filter, sanitizing rogue none tokens into data.filter and data.imgStyle.filter. |
core/pages.js |
Updated renderPage() to resolve finalFilter from s.filter, data.filter, data.contentCssText, or filterAttributes, apply finalFilter to img.style.filter, and unclip element wrappers (overflow = 'visible') when drop shadows or glow are present. |
extensions/print-engine.js |
Fixed drop-shadow regex in bakeImageForPrint() to support nested parentheses in rgba(...) color tokens. Scaled shadow blur and padding accurately. Enhanced buildPrintDOM() to map img.style.filter and unclip parent wrappers for NW.js Native Spooler prints. Updated buildPrintPageDOM() to set overflow = 'visible' and contain = 'none' on cropDiv and elDiv. Bumped print initialization log string to v5.7.3. |
io/file-io.js |
Updated fallback printFullDocument() to set overflow = 'visible' on elDiv, extract filter strings, sanitize none, and assign them to img.style.filter. |
ui/ui.js |
Enhanced ContextRibbonActions.addDropShadow and ContextRibbonActions.addGlow to strip none tokens, set overflow = 'visible' on both the selected element and .element-content, and trigger pushHistory(). |
index.html |
Synchronized all 82 asset cachebuster queries from ?v=5.7.2 to ?v=5.7.3. |
sw.js |
Bumped Service Worker cache name to open-publisher-v5-7-3 and header comment to (v5.7.3). |
extensions/pwa-install.js |
Bumped header comment to (v5.7.3) and updated Service Worker registration query to sw.js?v=5.7.3. |
extensions/ui-interactions.js |
Bumped About modal subtitle version string to β’ v5.7.3. |
extensions/legacy-fixes.js |
Bumped initialization log string to v5.7.3. |
ui/dashboard.js |
Updated template fetch cachebuster queries to ?v=5.7.3. |
ui/modals/options-modal.js |
Bumped header comment to (v5.7.3). |
ui/sidebar-context.js |
Bumped header comment to (v5.7.3). |
β v5.7.3 Verification Checklist
- [x] Picture Tools Glow Print Rendering: Verified that applying Glow to an image renders with complete visual fidelity on print outputs, producing 29,020+ cyan glow pixels with smooth radial spread in automated raster verification tests.
- [x] Picture Tools Drop Shadow Print Rendering: Verified that applying Drop Shadow to an image renders with complete visual fidelity on print outputs, producing 6,609+ shadow gray pixels with realistic offset in automated raster verification tests.
- [x] Native NW.js Desktop Print Spooler DOM Parity: Verified that
buildPrintDOM()propagates image filters (drop-shadow(...)) toimg.style.filterand setsoverflow = 'visible'on element wrappers. - [x] High-Res Physical Print & PDF Export Rasterizer Parity: Verified that
bakeImageForPrint()generates high-resolution baked canvases with correct nestedrgba(...)color tokens and zero syntax rejection. - [x] Container Overflow Unclipping: Verified that neither
elDiv,cropDiv, nor.element-contentclip negative margins or blur spread. - [x] History & Serialization Preservation: Verified that document undo, redo, page switching, and file saving retain full image filter state across serialization cycles.
- [x] Cachebuster Synchronization: Verified all asset queries in
index.htmlandui/dashboard.jsare updated to?v=5.7.3. - [x] Service Worker Cache: Verified cache name in
sw.jsis updated toopen-publisher-v5-7-3. - [x] Zero Em Dashes: Confirmed zero em dashes across all documentation and artifacts.
- [x] Automated Test Suite: Executed end-to-end automated tests with a 100% pass rate.
π Version 5.7.3 - Open Publisher