| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-10-18 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-18 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-18 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-18 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-18 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-18 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-18 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-18 | 156.2 MB | |
| 5.10.3_ Zoom-Invariant Selection UI, Quick Actions Toolbar _ Print Fidelity source code.tar.gz | 2026-10-18 | 23.4 MB | |
| 5.10.3_ Zoom-Invariant Selection UI, Quick Actions Toolbar _ Print Fidelity source code.zip | 2026-10-18 | 23.6 MB | |
| README.md | 2026-10-18 | 17.4 kB | |
| openpublisher5_amd64-linux.AppImage | 2026-10-18 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-18 | 185.5 MB | |
| Totals: 13 Items | 1.8 GB | 0 | |
π Summary
Version 5.10.3 delivers major workflow, typography, and print-rendering upgrades to OpenPublisher:
- Zoom-Invariant Selection & Canvas UI Architecture: Selection handles, the green rotation handle and stem, dashed selection outlines, the floating quick-actions pill, crop handles, vector shape edit nodes, Smart Arrow controls, custom guides, and boundary outlines now remain the exact same screen size at every zoom level (from 20% all the way to 500%). This also resolves the issue where zooming in caused the green rotation handle's white border to multiply and swallow the green center dot.
- Quick Clone & Delete via Floating Micro-Action Toolbar: An unobtrusive, theme-adaptive floating micro-action pill attached to selected elements, paired with a dedicated
Ctrl+Dduplication shortcut that cleanly isolatesCtrl+Shift+Dfor the desktop client Debug HUD. - Print Typography Fidelity (
Segoe UIPreservation & Custom Font Spacing): Fixed a criticalhtml2canvasignoreElementsfilter bug inextensions/print-engine.jsthat inadvertently stripped<head>stylesheets and Google Fonts<link>tags from the print measurement iframe, causing defaultSegoe UItext boxes to revert toTimes New Romanand custom fonts (such asAcme) to suffer word-spacing drift (Click to edit text). Also unified all toolbar font labels andstate.lastRangeselection tracking so default text boxes consistently display and reportSegoe UI. - 1:1 Print Drop Shadow & Smart Arrow Shadow Fidelity: Removed the artificial
1.6xprint shadow opacity multiplier, prevented double-stacked fill + stroke shadow casting when baking Smart Arrows, calibrated the canvas 2DshadowBlurvs CSSdrop-shadowGaussian sigma ratio, and stripped residual CSS shadows after underlay injection so printed shadows match the editor 1:1.
Asset cachebusters across all 83 resource tags in index.html have been bumped to ?v=5.10.3, and the Service Worker cache has been upgraded to open-publisher-v5-10-3.
π¨ Key Features & Architectural Improvements
1. Zoom-Invariant Canvas & Selection UI (canvas/canvas.js, extensions/system-patches.js, style.css)
- Root Cause Fix for Shrinking Rotate Handle:
- Previously,
syncHandleScaling()scaled handle dimensions in paper layout coordinates (11 / zoom) while clamping--handle-border-widthtoMath.max(1, 1 / zoom)px. When zooming in (zoom > 1), that1pxpaper border expanded to2.5px-5pxon each side in screen space. Because.rotate-handleusedbox-sizing: border-boxwith a white border against a white page, the expanding border consumed almost the entire diameter of the green circle, leaving a tiny green speck. - Additionally, Chromium's layout engine snaps sub-pixel CSS
border-widthvalues below1pxbefore applying parent transforms, which caused dashed selection outlines and resize handle borders to thicken when zoomed in. - True Screen-Space Counter-Scaling (
--zoom-level&--ui-inv-zoom): window.syncHandleScaling(zoom)now computes--zoom-level(zoom) and--ui-inv-zoom(1 / zoom) on:rootand#paper.- Selection Dashed Box (
.selection-border-box): Rendered as a dedicated overlay child sized tocalc(100% * var(--zoom-level, 1))and counter-scaled viatransform: scale(var(--ui-inv-zoom, 1)), keeping the1.5pxdashed selection line and dash spacing identical at 35%, 100%, and 300% zoom. - Resize Handles (
.resize-handle): Fixed at10px x 10pxwith a crisp1.5pxborder in local coordinates and counter-scaled at each anchor point viatransform: translate(-50%, -50%) scale(var(--ui-inv-zoom, 1)). - Rotation Handle & Stem (
.rotate-handle&.rotate-stick): Anchored attop: 0; left: 50%; transform-origin: 0 0and counter-scaled viascale(var(--ui-inv-zoom, 1)), maintaining a constant13px x 13pxgreen circle (1.5pxwhite border + subtle shadow) and a1.5px x 24pxstem at all zoom levels. - Floating Quick-Actions Pill (
.element-quick-actions): Counter-scaled fromtransform-origin: 100% 0%viascale(var(--ui-inv-zoom, 1))so the69px x 28pxcapsule and6pxvertical gap remain constant on screen regardless of page zoom. - Narrow / Zoomed-Out Collision Avoidance (
.offset-from-rotate):updateQuickActionsPosition()checks the element's screen width (el.offsetWidth * currentZoom). When a box is narrower than145pxon screen (either physically narrow or zoomed out),.offset-from-rotateshifts the pill14pxin screen space to the right of the center rotate handle so they never overlap. - Crop Handles, Shape Nodes, Smart Arrows & Guides:
.pub-element.cropping .resize-handle,.shape-edit-handle,.arrow-tip-subbox::before,.arrow-tip-handle,.arrow-tip-badge,.custom-guide, and#paper.show-boundaries .pub-elementall counter-scale smoothly across the full zoom range.
2. Floating Micro-Action Pill (extensions/system-patches.js & style.css)
- Selection Overlay Integration:
- Attached to both single-element selection (
.selected-overlay) and multi-element group selection (#group-selection-overlay). - Automatically hidden when no element is selected, during image crop mode (
.cropping), and during vector shape node editing (.editing-shape). - Theme-Adaptive Micro-Action Pill (Light & Dark Mode):
- Standard Light Mode:
- Resting State: Presents a clean, muted capsule with a soft slate border (
border: 1px solid rgba(148, 163, 184, 0.45)) displaying washed-out monochrome slate icons (#64748bat0.58opacity). - Hover State: Smoothly transitions into a bright, crisp white frosted glassmorphic badge (
rgba(255, 255, 255, 0.98)with frosted blur), gently lifting (translateY(-2px)in screen space) and illuminating the rich teal clone (#007670) and crimson delete (#dc2626) buttons.
- Resting State: Presents a clean, muted capsule with a soft slate border (
- Dark Mode (
body.dark-mode):- Resting State: Adapts to a dark slate capsule (
rgba(30, 41, 59, 0.88)) with muted slate monochrome icons (#94a3b8). - Hover State: Fills into a sleek dark slate glassmorphic badge (
rgba(15, 23, 42, 0.96)with soft dark shadow), revealing neon teal (#14b8a6) and coral-red (#f87171) buttons.
- Resting State: Adapts to a dark slate capsule (
- Silky Smooth Drag Fade Out / Fade In: While an element is actively being moved, rotated, or resized (
is-transforming), the toolbar smoothly fades out (opacity: 0, soft scale down) over a 220ms ease curve and fades back in over 280ms upon mouse release. - Auto-Flip Boundary Detection:
- If an element is positioned near the top edge of the page, the pill automatically flips below the bottom-right corner (
.flip-bottom) or docks inside the top-right corner (.inside-top). - Zero Document Pollution & Print Safety:
- Lives exclusively in the overlay container (
#selection-overlay-container/#group-selection-overlay), never inside.pub-elementnodes. - Hidden in
@media printand stripped during export staging inio/export/canvas-renderer.js.
3. Comprehensive Duplication Engine & Ctrl+D Shortcut (core/selection.js, core/keyboard.js, ui/menus.js)
duplicateSelected():- Commits active
contenteditableedits, clones the target element(s), assigns unique IDs, offsets by(+20px, +20px), unlinks text-flow chains (data-next-box/data-prev-box), selects the clone, updates thumbnails, and logs to the Undo/Redo history stack. Ctrl+DKeyboard Shortcut & Debug HUD Isolation (Ctrl+Shift+D):- Enforces
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (e.key === 'd' || e.key === 'D')so pressingCtrl+Shift+Dpasses straight through to the desktop client Debug HUD without duplicating elements. - Context Menu Integration:
- Added "Duplicate" (
fa-clone) to the right-click context menu between "Copy" and "Paste".
4. Print Typography Fidelity, Custom Font Word-Spacing & Toolbar Font Sync (extensions/print-engine.js, elements/text/text.js, extensions/legacy-fixes.js, extensions/ui-interactions.js, index.html)
- Root Cause Fix for
Segoe UILoss & Custom Font Word-Spacing Drift in Print: - In
extensions/print-engine.js,pageIgnoreFnpreviously checked!el.contains(pageWrapper) && !pageWrapper.contains(el). Whenhtml2canvascloned the document into its hidden measurement<iframe>,pageIgnoreFn(document.head)returnedtrue(ignore), stripping<head>(style.cssand all dynamically injected Google Fonts<link>tags) from the clone. - Without
<head>,html2canvasfell back to the browser's unstyledTimes New Romandefault for any text box relying on inheritedSegoe UI, and measured custom Google Fonts (Acme, etc.) usingTimes New Romanword widths before painting them in the custom font on the parent canvas, creating an extra space after words (Click to edit text). - Updated both
pageIgnoreFnandtempBoxignoreElementsinextensions/print-engine.jsto always preservedocument.head(HEAD,STYLE,LINK) and awaiteddocument.fonts.readybefore runninghtml2canvas. - Added explicit
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serifonpageWrapper,scaler, and newly inserted text boxes inaddTextBox(). - Toolbar Font Label & Selection Range Synchronization:
- Updated
addTextBox(),execCmd(), andupdateFloatToolbarValues()inelements/text/text.js(along withextensions/legacy-fixes.js,extensions/ui-interactions.js, andindex.html) so that:- Newly added text boxes reset
state.lastRange = nulland displaySegoe UIacross#ribbon-font-label,#float-font-label, and#ctx-font-label-text. - Selecting a font from the dropdown when a text box is selected (even without a manual text highlight) applies
fontFamilycleanly to the entire text box rather than jumping to a stalestate.lastRangeon a previously edited element. - Clicking between text boxes with different fonts immediately updates all font dropdown labels to reflect the selected element's actual font.
- Newly added text boxes reset
5. 1:1 Print Drop Shadow & Smart Arrow Shadow Fidelity (elements/arrow/arrow.js, extensions/print-engine.js)
- Smart Arrow Offscreen Composite Shadow (
bakeSmartArrowForPrint): - Previously,
bakeSmartArrowForPrintappliedctx.shadowColorwith a1.6xalpha boost directly while calling bothctx.fill(p2d)andctx.stroke(p2d), causing the stroke to cast a second shadow on top of the fill's shadow and making Smart Arrow drop shadows significantly darker and heavier in print than in the editor. - Refactored
bakeSmartArrowForPrintinelements/arrow/arrow.jsto draw the arrow's fill and stroke onto an offscreen canvas first, and then composite the completed arrow onto the output canvas with nativectx.filter = "drop-shadow(...)"at1.0xopacity, matching the browser's CSSfilter: drop-shadow(...)on<svg>1:1. - Shadow Underlay Calibration & Deduplication (
extensions/print-engine.js): - Removed the
1.6xalpha multiplier inboostGlowColorForPrint. - Updated
generateShadowUnderlayDataURLto cast shadows from an opaque silhouette (#000000, punched out viadestination-out) and scaled CSSdrop-shadowblur radii by2xto match Canvas 2DshadowBlur's Gaussian sigma definition ($\sigma = \text{shadowBlur} / 2$). - Stripped
box-shadowanddrop-shadowfrom.element-contentwhenever.op-print-shadow-underlayis injected (buildPrintDOM,bakeElementShadowUnderlays, andprintFullDocumentDirect) sohtml2canvasnever double-renders a second shadow on top of the baked underlay. - Normalized
baked.padWandbaked.padXbybaked.scaleinprintFullDocumentDirectso baked image shadow wrappers are sized in CSS pixels rather than device pixels.
π Files Modified in 5.10.3
| File | Changes |
|---|---|
extensions/print-engine.js |
Preserved document.head (STYLE and Google Fonts <link> tags) in html2canvas ignoreElements; awaited document.fonts.ready; set explicit Segoe UI fallback on print wrappers; removed 1.6x shadow alpha boost; calibrated generateShadowUnderlayDataURL and stripped duplicate CSS shadows when .op-print-shadow-underlay is active; normalized bakeImageForPrint padding by baked.scale. |
elements/arrow/arrow.js |
Updated bakeSmartArrowForPrint to composite fill + stroke on an offscreen canvas first and render the drop shadow in a single pass via native ctx.filter = "drop-shadow(...)" without artificial alpha boosting. |
elements/text/text.js |
Added explicit font-family: 'Segoe UI', sans-serif to addTextBox(); scoped state.lastRange restoration in execCmd() and updateFloatToolbarValues() to state.selectedEl; synced #ribbon-font-label, #float-font-label, #ctx-font-label-text, and #ctx-font-label-wa. |
extensions/legacy-fixes.js |
Updated default font labels from Arial to Segoe UI and guarded state.lastRange restoration in the execCmd wrapper to state.selectedEl. |
extensions/ui-interactions.js |
Updated default font fallback in updateFloatToolbarValues from Arial to Segoe UI. |
canvas/canvas.js |
Updated window.syncHandleScaling to compute --zoom-level and --ui-inv-zoom without minimum border clamping; synced quick actions pill positioning on zoom; bumped header comment to (v5.10.3). |
extensions/system-patches.js |
Updated renderSelectionOverlays() to render zoom-invariant .selection-border-box outlines and .element-quick-actions for single and group selections; made updateQuickActionsPosition() zoom-aware with .offset-from-rotate collision prevention. |
style.css |
Refactored .selection-border-box, .resize-handle, .rotate-handle, .rotate-stick, .element-quick-actions, .shape-edit-handle, .arrow-tip-*, .custom-guide, and #paper.show-boundaries .pub-element to use zoom-invariant counter-scaling (var(--ui-inv-zoom, 1)). |
core/selection.js |
Implemented duplicateSelected() with DOM cloning, ID generation, position cascading (+20px, +20px), text-flow unlinking, thumbnail sync, and history logging; exported window.duplicateSelected. |
core/keyboard.js |
Wired up Ctrl+D (and Cmd+D) element duplication shortcut with strict !e.shiftKey guard to protect the client app Debug HUD (Ctrl+Shift+D). |
io/export/canvas-renderer.js |
Added .element-quick-actions to the query selector removal list during image and PDF canvas export. |
ui/menus.js |
Added "Duplicate" (fa-clone) to the universal object context menu; bumped header comment to (v5.10.3). |
index.html |
Updated default #float-font-label text to Segoe UI; bumped all 83 asset cachebuster query strings from ?v=5.10.2 to ?v=5.10.3. |
sw.js |
Bumped service worker cache name to open-publisher-v5-10-3 and header comment to (v5.10.3). |
core/boot.js, core/core.js, extensions/pwa-install.js, tools/proofing/dictionary.js, tools/proofing/spellcheck-engine.js, ui/modals/card-sheet-modal.js, ui/modals/options-modal.js, ui/sidebar-context.js |
Bumped version headers and startup logs to v5.10.3. |
β Verification Checklist
- [x] Default
Segoe UIPrint Preservation: Verified that newly inserted text boxes (Click to edit text) retainSegoe UIin both the Editor and Print output instead of falling back toTimes New Roman. - [x] Custom Google Font (
Acme) Print Word-Spacing Fidelity: Verified that custom fonts render in Print with identical glyph metrics and word spacing (Click to edit text) with zero word-gap drift. - [x] Toolbar Font Label & Selection Sync: Verified that
#ribbon-font-label,#float-font-label, and#ctx-font-label-textinitialize toSegoe UI, update toAcmewhen changing a selected text box's font, and sync back toSegoe UIwhen re-selecting a default text box. - [x] 1:1 Print Drop Shadow Fidelity: Verified side-by-side that Smart Arrow drop shadows and element shadow underlays in Print match the Editor's shadow softness, blur radius, and opacity 1:1.
- [x] Zoom-Invariant Screen Dimensions (35% to 300% Zoom): Verified via automated sub-pixel bounding-box assertions that
.rotate-handle(13.00x13.00px),.resize-handle(10.00x10.00px),.rotate-stick(1.50x24.00px),.selection-border-box(1.5pxdashed stroke), and.element-quick-actions(69.00x28.00px,6.00pxgap) maintain the exact same screen pixel size at every zoom level. - [x] Narrow / Zoomed-Out Rotate Handle Clearance: Verified that when an element is narrow on screen (
< 145pxscreen width),.offset-from-rotateautomatically shifts the quick-actions pill to the right of the green rotation handle so they never overlap. - [x] Washed-Out Monochrome Resting Icons & Smooth Drag Fade: Verified resting monochrome slate icons, smooth fade-out during transforms (
is-transforming), and Light/Dark Mode glassmorphic hover states. - [x] Clone, Delete,
Ctrl+D&Ctrl+Shift+DIsolation: Verified duplication, deletion, Undo/Redo restoration, and strict isolation ofCtrl+Shift+Dfor the Debug HUD.
π Version 5.10.3: Open Publisher