Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.17.5
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-11-03 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-11-03 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-03 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-03 233.1 MB
openpublisher5_amd64-linux.run 2026-11-03 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-03 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-03 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-03 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-03 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-03 185.5 MB
5.17.5_ Rounded Corner Shadow Underlay Synchronization _ Print Fidelity source code.tar.gz 2026-11-03 40.6 MB
5.17.5_ Rounded Corner Shadow Underlay Synchronization _ Print Fidelity source code.zip 2026-11-03 41.0 MB
README.md 2026-11-03 6.4 kB
Totals: 13 Items   1.8 GB 0

πŸ“ Summary

Version 5.17.5 resolves the square shadow underlay artifact on rounded and pill elements during printing and canvas export, synchronizing corner radius extraction across all text box presets, styled tables, and custom elements:

  1. Multi-Source Border Radius Extraction: Overhauled extractBorderRadiusForPrint to inspect all element layers, including contentCssText, inline style.borderRadius, data-rounded-corners attributes, child elements (.element-content > div, table, pt-r-* SaaS tables), innerHTML, and preset definitions.
  2. Smooth Pill & Capsule Shadow Caster: Updated generateShadowUnderlayDataURL so shadow caster bounds and punchout cutouts accurately scale to min(w, h) / 2 for pill and circular elements (borderRadiusPx >= 900), and clamp radii to physical element dimensions to eliminate corner overflow.
  3. Double Shadow Suppression: Cleaned redundant inline box-shadow and filter: drop-shadow declarations from cleanHTML and inner targets whenever high-resolution PNG shadow underlays are generated, preventing raw browser print driver distortions and sharp corner artifacts.
  4. Preset & Attribute Synchronization: Enhanced TextBoxStylesSystem.applyStyle and applyBorderRadius to synchronize border radius values to both the visual target and the parent element container, ensuring serialized pages and live paper nodes remain in sync.
  5. Multi-File Engine Alignment: Synchronized print rasterization and canvas shadow baking across extensions/print-engine.js, elements/text/text.js, io/export/canvas-renderer.js, and io/export/export.js.
  6. System Synchronization & Version Bump: Updated Service Worker cache to open-publisher-v5-17-5-1, updated About dialog to v5.17.5, and synchronized all asset cachebusters across scripts and stylesheets to ?v=5.17.5.

op-RoundedCornerShadowAndPrintExportSynchronization

πŸš€ What's New in v5.17.5

🎨 Rounded Corner Shadow Underlay Synchronization (extensions/print-engine.js, elements/text/text.js)

  • Root Cause Resolution:
  • In previous versions, applying rounded corners (such as Corner Radius: Pill) to a styled text box or table with a preset shadow resulted in sharp 90-degree square shadows sticking out of the rounded element in print previews and physical printouts.
  • The shadow underlay generator (generateShadowUnderlayDataURL) previously received a border radius of 0 because extractBorderRadiusForPrint only checked the top-level contentCssText or required an exact element ID match in the live paper DOM.
  • For preset styled boxes or inner containers where styling resided on an inner target or in innerHTML, the radius was missed, defaulting the shadow canvas caster and punchout to sharp rectangular corners.
  • Deep Hierarchical Extraction:
  • extractBorderRadiusForPrint now checks:
    • Direct contentCssText parsing for standard pixel and percentage values.
    • DOM element node properties (el.style.borderRadius, el.getAttribute('data-rounded-corners'), content.style.borderRadius, and computed styles).
    • Inner target containers returned by TextBoxStylesSystem.getVisualBoxTarget(el).
    • Inner table elements (including .pt-r-* rounded SaaS table styles with 24px radius).
    • Serialized properties (el.borderRadius, el.filterAttributes['data-rounded-corners'], el.imgStyle.borderRadius).
    • Inner HTML style parsing for embedded containers and buttons.
    • Preset definitions via TextBoxStylesSystem.getPreset(styleId).
    • Live paper fallback with coordinate-based matching.
  • Flawless Pill & Capsule Shadow Underlays:
  • When elements have pill styling (border-radius: 999px or 50%), the shadow caster and transparent center punchout calculate radii as Math.min(sw, sh) / 2 and Math.min(w, h) / 2.
  • Clamping safeguards prevent intermediate corner radii from exceeding half the element dimensions, ensuring completely smooth curves with zero artifact spikes.
  • Clean Underlay Hand-Off:
  • Whenever an underlay is baked, all redundant CSS box-shadow rules are stripped from both the container and inner cleanHTML tags, avoiding double shadow overlays and ensuring pixel-perfect fidelity.

πŸ”§ System Synchronization & Version Bump (v5.17.5)

  • About Dialog (extensions/ui-interactions.js): Subtitle updated to Free Online Desktop Publishing Tool β€’ v5.17.5.
  • Service Worker Cache (sw.js): Cache bucket bumped to open-publisher-v5-17-5-1.
  • Export Template Modal (ui/modals/export-template-modal.js): Version metadata and README export string updated to 5.17.5.
  • Asset Cachebusters (index.html): Updated query tags for all core scripts, stylesheets, and toolbar icons to ?v=5.17.5.
  • Internal Dashboard & Templates (elements/templates/templates.js, ui/dashboard.js, ui/menus.js): Synchronized internal template asset cachebusters to ?v=5.17.5.
  • Line Spacing & Typography Modal (ui/modals/line-spacing-modal.js, style.css): Version headers synchronized to v5.17.5.

βœ… Checklist Completed

  • [x] Identify root cause of square shadow underlays on pill and rounded corner elements
  • [x] Upgrade extractBorderRadiusForPrint to inspect all container layers, targets, tables, and innerHTML
  • [x] Enhance extractElementShadowForPrint with deep DOM, preset, and innerHTML inspection
  • [x] Ensure generateShadowUnderlayDataURL accurately draws and punches out pill capsule curves
  • [x] Clamp intermediate corner radii so shadows never overflow element dimensions
  • [x] Strip redundant inline shadows from cleanHTML in print spoolers to prevent double shadows
  • [x] Synchronize border radius on parent element and visual target in TextBoxStylesSystem
  • [x] Bump application version and About dialog to v5.17.5
  • [x] Bump Service Worker cache bucket to open-publisher-v5-17-5-1
  • [x] Synchronize all asset cachebusters across index.html, ui/dashboard.js, and ui/menus.js to ?v=5.17.5
  • [x] Verify pill shadow underlays and print spooler rasterization via automated Playwright tests

πŸ“– Version 5.17.5 - Open Publisher

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