| 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 | |
| 5.7.0_ Clipart Border Art Engine, Dynamic Element Resizing, Context Menu Integration _ 40 Presets source code.tar.gz | 2026-10-11 | 22.5 MB | |
| 5.7.0_ Clipart Border Art Engine, Dynamic Element Resizing, Context Menu Integration _ 40 Presets source code.zip | 2026-10-11 | 22.8 MB | |
| README.md | 2026-10-11 | 27.9 kB | |
| 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 | |
| Totals: 12 Items | 1.7 GB | 0 | |
🚀 Summary
Version 5.7.0 introduces the Border Art engine to Open Publisher. Inspired by classic Microsoft Office and Publisher "BorderArt", this feature allows users to frame their pages and document boxes with repeating clipart picture borders (such as Santas, Holiday Bells, Christmas Trees, Candy Canes, Apples, Hearts, Stars, Balloons, Roses, Sunflowers, Autumn Leaves, and Pencils).
In this update, the Border Art dropdown gallery has been expanded into a 4-wide grid layout with 40 distinct presets (doubled from the original 20 presets). The dropdown menu uses a 410px width with compact 28px image boxes, neat typography, a "40 Styles" indicator badge, and terminates at around 80% of the available vertical space below the ribbon bar, leaving a clean, comfortable clearance at the bottom of the workspace.
Furthermore, Dynamic Element Resizing has been implemented for elements with border art. Resizing a textbox or shape box dynamically recalculates the perimeter tile division algorithm in real time during mouse drag resizing and through an integrated ResizeObserver, automatically adding and redistributing tiles along all four edges as the element expands or contracts.
This release also resolves print preview aspect distortion by upgrading border art tiles to native square aspect-preserved thumbnails (fit=contain), and introduces direct Format Text Box dialog and Right-Click Context Menu integrations for applying Border Art to any text box.
Key Highlights:
- Print Engine Clipart Aspect Ratio Preservation:
- Resolved print preview distortion where tall or non-square clipart (such as party balloons) appeared squished or flattened in Chromium print preview and physical prints.
- Border art tiles now utilize 1:1 square transparent container thumbnails (
fit=contain) and an integrated print spooler image preloader inprint-engine.js, guaranteeing that prints and PDFs match the editor with crisp, upright clipart. - Right-Click Context Menu "Border Art..." Option:
- Right-clicking any text box now includes a dedicated "Border Art..." option directly below "Format Text Box".
- Clicking it automatically selects the text box and opens the Border Art gallery targeted to "Selected Box".
- "Format Text Box" Dialog Border Art Button:
- The Format Properties / Format Text Box modal dialog now features a dedicated "Border Art..." button inside the border styling section.
- Clicking the button smoothly transitions to the Border Art gallery with the current text box active.
- Dynamic Element Resizing with Real-Time Border Recalculation:
- When a textbox or shape box with border art is resized via any handle, perimeter divisions and tile counts recalculate on every frame (
BorderArtEngine.refreshElement(el, w, h)). - Right and bottom borders expand outward with the box, and new tiles are seamlessly generated along all four edges.
- Integrated native
ResizeObserverautomatically detects dimensions changes from sidebar properties, font adjustments, or script calls. - Refined 80% Height Dropdown Clearance:
- The Border Art dropdown menu height is dynamically set to ~80% of the space below the ribbon (
availH = Math.max(200, Math.round(spaceBelow * 0.80))). - The dropdown no longer reaches the bottom edge of the application, keeping status bar, page rulers, and canvas clearly visible.
- Compact 4-Wide Gallery Grid:
- The Border Art dropdown menu displays 40 presets in a 4-column grid (
repeat(4, 1fr)) with compact 28px image boxes, crisp font sizes, and neat card borders across a 410px wide menu. - Doubled Selection (40 Presets):
- Expanded from 20 presets to 40 distinct, high-quality presets across 6 categories: Holiday, Celebration, Romantic, Nature & Food, Sports, and Education.
- Refined, Non-Bulky Clipart Borders:
- Santas: Upright smiling Santa walking in boots and carrying a sack of presents over his shoulder (
Cute_Santa_PNG_Clipart-21.png). - Party Balloons: Elegant single floating red balloon with ribbon (
Red_Balloon_PNG_Clip_Art-2015.png), providing clean rhythmic perimeter framing. - Gift Boxes: Compact, square-profile blue gift box adorned with delicate snowflakes and bow (
Blue_Gift_Box_with_Snowflakes_PNG_Clipart-727.png). - Full Print Pipeline Serialization:
- Border Art is serialized directly as a
.pub-element(#native-border-art-border) inpage.elementsand stored inpage.borderStyle. When printing via native browser print (buildPrintDOM), physical iframe printing, or PDF exports, border tiles render directly into the print scaler (.op-print-scaler). - Eager Print Tile Loading:
- Border tile images use eager loading and cross-origin attributes, ensuring browser print spoolers decode and print every tile without lazy-loading omissions.
- Element-Level Border Art Printing:
- When Border Art is applied to an individual text or picture box,
.element-border-artis serialized inside.element-content, guaranteeing that box borders print identically in the print spooler.
- When Border Art is applied to an individual text or picture box,
- Uniform Perimeter Calculation:
- Uses exact mathematical edge division so tiles are spaced evenly across all four borders with corner tiles aligned at the vertices.
- Real-Time Size & Inset Sliders:
- Live sliders allow adjusting the art icon size (16px to 64px) and edge inset margin (0px to 60px) with instant visual updates.
- Document State & History Integration:
- Automatically serializes border art settings (
borderart:id:size:inset) into.opubdocument saves, page switching, and undo/redo cycles.
- Automatically serializes border art settings (
🌟 Key Updates in v5.7.0
1. Print Engine Clipart Aspect Ratio Preservation
- Root Cause Identified:
html2canvaspaints<img>elements directly onto 2D canvas contexts using element bounding box dimensions (ctx.drawImage), completely bypassing CSSobject-fit: contain. When non-square clipart (like balloons) was rendered in square thumbnail slots,html2canvasstretched and flattened it into a pancake shape. - Aspect-Preserved Thumbnail Containers: In
elements/border-art/border-art.js,getThumbUrlappends&w=128&h=128&fit=containto image CDN queries, delivering transparent 1:1 square image containers where clipart retains its natural upright proportions. - Asynchronous Print Spooler Preloader: In
extensions/print-engine.js,installPhysicalPrintEngineinspects all.border-art-wrapper imgand.element-border-art imgelements, upgrades legacy URLs missingfit=contain, and waits for complete image decoding before launchinghtml2canvas. This guarantees that prints and PDFs match the live editor view.
2. Dynamic Element Resizing with Real-Time Perimeter Recalculation
- Real-Time Drag Updates: In
canvas/interaction-mouse.js, element drag-resizing triggersBorderArtEngine.refreshElement(el, w, h)on every frame, re-running perimeter divisions and redrawing tiles as dimensions change. - ResizeObserver Architecture: Elements with Border Art are registered with a native
ResizeObserverinBorderArtEngine.applyToElement. If dimensions shift due to text typing, font size changes, sidebar property inputs, or automated scripts, the border art tiles automatically adapt. - Boundary Anchoring: Right and bottom border edges expand outward dynamically with the element's bounding box, maintaining proper corner alignments and spacing across all sides.
3. Context Menu & "Format Text Box" Dialog Integrations
- Right-Click Context Menu: Added a dedicated "Border Art..." action directly below "Format Text Box" (and "Format AutoShape") in
ui/menus.js. Right-clicking any text box and selecting "Border Art..." selects the element and opens the gallery targeted directly to "Selected Box". - Format Text Box Dialog Button: In
elements/shape/shape.jsandui/ui.js, the border styling section of the Format Properties modal dialog features a styled "Border Art..." button. Clicking it closes the dialog and opens the Border Art picker anchored next to the text box. - Element-Targeted Positioning (
BorderArtEngine.openForElement): Positions the dropdown menu cleanly adjacent to the selected element, switches the target pill to "Selected Box", pre-populates sliders with existing element values, and enforces the 80% maximum height constraint.
4. 4-Wide Gallery Grid Layout & 40 Handcrafted Presets
- 4-Column Grid System: Redesigned the gallery container from 2 columns to 4 columns (
grid-template-columns: repeat(4, 1fr)) within a compact 410px menu width. - Compact Card Typography: Reduced image box dimensions to 28px and label typography to 11px, allowing users to see a comprehensive variety of styles without excessive vertical scrolling.
- Expanded Selection: Increased the preset library from 20 to 40 distinct styles across 6 popular document themes (Holiday, Celebration, Romantic, Nature & Food, Sports, Education).
5. Refined 80% Height Dropdown Clearance
- Smart Viewport Calculation: The Border Art dropdown menu height dynamically evaluates the space below the ribbon bar and clamps its maximum height to approximately 80% (
availH = Math.max(200, Math.round(spaceBelow * 0.80))). - Workspace Clearance: Prevents the dropdown menu from extending to the bottom edge of the browser window, keeping canvas elements, rulers, and the bottom status bar visible.
6. Document State, History & Cache Synchronization
- State Serialization: Document saves and history snapshots record border art configuration strings (
borderart:id:size:inset) for full fidelity across sessions. - Cachebuster Updates: Synchronized all asset queries in
index.html, Service Worker cache (open-publisher-v5-7-0), template loader queries inui/dashboard.js, and subsystem headers to v5.7.0.
🌟 40 Classic Clipart Border Art Presets
The Border Art gallery includes 40 presets selected for visual clarity, balance, and fun tiling aesthetics:
| Preset Name | Category | Clipart Asset | Visual Description |
|---|---|---|---|
| Santas | Holiday | Cute_Santa_PNG_Clipart-21.png |
Upright smiling Santa carrying a sack of gifts |
| Holiday Bells | Holiday | Christmas_Bells_PNG_Clipart-9.png |
Golden Christmas bells with red bows |
| Christmas Trees | Holiday | Beautiful_Christmas_Tree_PNG_Clipart-2.png |
Decorated holiday pine trees |
| Candy Canes | Holiday | Red_Christmas_Stocking_with_Candy_Cane_PNG_Clipart-45.png |
Red holiday stockings with candy canes |
| Snowmen | Holiday | Snowman_with_Christmas_Hat_PNG_Clipart-57.png |
Festive smiling snowmen with hats |
| Easter Eggs | Holiday | Blue_Easter_Egg_PNG_Clip_Art-1235.png |
Patterned decorative Easter eggs |
| Easter Bunnies | Holiday | Easter_Bunny_PNG_Clip_Art-1263.png |
Cute holiday Easter bunnies |
| Stars & Baubles | Celebration | Red_Christmas_Ball_with_Stars_PNG_Clipart-44.png |
Red Christmas baubles with sparkling gold stars |
| Party Balloons | Celebration | Red_Balloon_PNG_Clip_Art-2015.png |
Single glossy floating red balloon with ribbon |
| Party Smiles | Celebration | Party_Emoticon_PNG_Clip_Art-2263.png |
Festive party smiley faces with party hats |
| Gift Boxes | Celebration | Blue_Gift_Box_with_Snowflakes_PNG_Clipart-727.png |
Blue wrapped gift box with bow and snowflakes |
| Cakes | Celebration | Christmas_Cake_PNG_Clipart-10.png |
Iced celebration cake slices |
| Cupcakes | Celebration | Muffin_PNG_Clipart-513.png |
Sweet celebration baked cupcakes |
| Champagne | Celebration | Bottle_of_Champagne_PNG_Clip_Art-2535.png |
Green champagne celebration bottles |
| Cocktails | Celebration | Cocktail_Orange_PNG_Clipart-722.png |
Tropical orange celebration cocktail glasses |
| Diamonds | Celebration | Blue_Diamond_PNG_Clipart-785.png |
Sparkling cut precious blue diamonds |
| Gold Coins | Celebration | Coins_Gold_PNG_Clip_Art-1994.png |
Shining golden treasure coins |
| Hearts | Romantic | Beautiful_Heart_PNG_Clipart-997.png |
Vibrant red glossy love hearts |
| Red Roses | Romantic | Beautiful_Red_Rose_PNG_Clipart-162.png |
Elegant blooming red floral roses |
| Apples | Nature & Food | Apple_PNG_Clip_Art-1467.png |
Classic Microsoft Word red delicious apples |
| Sunflowers | Nature & Food | Sunflower_PNG_Clipart-192.png |
Radiant golden yellow sunflowers |
| Lilies | Nature & Food | Lilium_Flower_PNG_Clipart_Image-2287.png |
Delicate botanical lilies |
| Autumn Leaves | Nature & Food | Autumn_Maple_Leaf_PNG_Clip_Art-1973.png |
Golden-red autumn maple foliage |
| Butterflies | Nature & Food | Butterfly_PNG_Clip_Art-2413.png |
Colorful winged garden butterflies |
| Ladybugs | Nature & Food | Ladybug_PNG_Clip_Art-1582.png |
Spotted red garden ladybugs |
| Honeybees | Nature & Food | Bee_PNG_Clip_Art-1590.png |
Buzzing striped honeybees |
| Songbirds | Nature & Food | Bird_PNG_Clip_Art-1566.png |
Chirping colorful wild songbirds |
| Strawberries | Nature & Food | Strawberry_PNG_Clip_Art-3029.png |
Sweet red garden strawberries |
| Cherries | Nature & Food | Cherry_PNG_Clipart-220.png |
Glossy red twin cherries |
| Lemons | Nature & Food | Lemon_PNG_Clip_Art-1524.png |
Fresh yellow citrus lemons |
| Pineapples | Nature & Food | Pineapple_Fruit_PNG_Clipart-247.png |
Golden tropical fruit pineapples |
| Watermelons | Nature & Food | Piece_of_Watermelon_PNG_Clipart-245.png |
Juicy summer watermelon slices |
| Ice Cream | Nature & Food | Chocolate_Ice_Cream_Cone_PNG_Clip_Art-1694.png |
Chocolate ice cream cones |
| Palm Trees | Nature & Food | Coconut_Palm_Tree_PNG_Clip_Art-1480.png |
Tropical coconut palm trees |
| Starfish | Nature & Food | Yellow_Starfish_PNG_Clip_Art-1450.png |
Golden ocean starfish |
| Seashells | Nature & Food | Seashell_PNG_Clip_Art-1535.png |
Coastal ocean seashells |
| Sunny Skies | Nature & Food | Partly_Cloudy_with_Sun_Weather_Icon_PNG_Clip_Art-1501.png |
Sunshine with white weather clouds |
| Soccer Balls | Sports | Soccer_Ball_PNG_Clip_Art-1361.png |
Classic soccer sports balls |
| Pencils | Education | Pencil_PNG_Clip_Art-1224.png |
Classic yellow and graphite studio pencils |
| Alarm Clocks | Education | Alarm_Clock_PNG_Clip_Art-1121.png |
Classic ringing twin-bell clocks |
🎨 Architectural & Implementation Details
1. Aspect Ratio Preservation & Print Spooler Preloading
-
In
elements/border-art/border-art.js::::javascript getThumbUrl: function(filename) { if (!filename) return ''; return 'https://images.weserv.nl/?url=raw.githubusercontent.com/rmellis/open-publisher-assets/refs/heads/main/clipart/' + encodeURIComponent(filename) + '&w=128&h=128&fit=contain'; }
-
In
extensions/print-engine.js::::javascript // Upgrade any border art images to use fit=contain so html2canvas renders square tiles without stretching const borderArtImgs = printContainer.querySelectorAll('.border-art-wrapper img, .element-border-art img'); borderArtImgs.forEach(img => { let src = img.getAttribute('src') || ''; if (src.includes('open-publisher-assets') && !src.includes('fit=contain')) { src = src + '&fit=contain'; img.src = src; } });
// Await complete decoding of all border art tiles before rasterizing if (borderArtImgs.length > 0) { const promises = Array.from(borderArtImgs).map(img => { if (img.complete && img.naturalWidth > 0) return Promise.resolve(); return new Promise(res => { img.onload = () => res(); img.onerror = () => res(); setTimeout(res, 2500); // 2.5s safe timeout fallback }); }); await Promise.all(promises); }
2. Dynamic Real-Time Element Perimeter Recalculation
-
In
elements/border-art/border-art.js::::javascript refreshElement: function(el, w, h) { if (!el) return; const existing = el.querySelector('.element-border-art'); if (!existing) return; const presetId = existing.dataset.presetId; const size = parseInt(existing.dataset.size, 10) || 32; const inset = parseInt(existing.dataset.inset, 10) || 0; if (!presetId) return;
// Width and height fallback to offset properties if not provided const targetW = (w !== undefined) ? w : (el.offsetWidth || parseFloat(el.style.width) || 200); const targetH = (h !== undefined) ? h : (el.offsetHeight || parseFloat(el.style.height) || 100); const wrapper = this.buildBorderDom(presetId, size, inset, targetW, targetH, true); if (!wrapper) return; wrapper.dataset.presetId = presetId; wrapper.dataset.size = size; wrapper.dataset.inset = inset; existing.replaceWith(wrapper);}
-
In
canvas/interaction-mouse.js::::javascript // Dynamic border art tile recalculation during live mouse resizing if (window.BorderArtEngine && typeof window.BorderArtEngine.refreshElement === 'function') { if (activeEl.querySelector && activeEl.querySelector('.element-border-art')) { window.BorderArtEngine.refreshElement(activeEl, newWidth, newHeight); } }
3. Context Menu & Format Properties Dialog Action Proxies
-
In
ui/menus.js::::javascript // Right-click context menu entry for text boxes and AutoShapes { id: 'ctx-border-art', label: 'Border Art...', icon: 'fas fa-palette', action: function() { if (window.ContextMenuActions && window.ContextMenuActions.openBorderArt) { window.ContextMenuActions.openBorderArt(); } } }
-
In
elements/shape/shape.jsandui/ui.js::::javascript // Format Text Box dialog button action handler window.ContextMenuActions = window.ContextMenuActions || {}; window.ContextMenuActions.openBorderArt = function() { const el = state.selectedEl; if (window.BorderArtEngine && typeof window.BorderArtEngine.openForElement === 'function') { window.BorderArtEngine.openForElement(el); } };
4. Dropdown Viewport Clamping (80% Height Boundary)
-
In
elements/border-art/border-art.js::::javascript // Position dropdown below ribbon and constrain height to ~80% of available space const rect = btn.getBoundingClientRect(); const spaceBelow = window.innerHeight - rect.bottom; const availH = Math.max(200, Math.round(spaceBelow * 0.80));
menu.style.top = (rect.bottom + 4) + 'px'; menu.style.left = Math.max(10, Math.min(rect.left, window.innerWidth - 430)) + 'px'; menu.style.maxHeight = availH + 'px'; menu.style.height = 'auto';
🔍 Problems Solved
1. Print Preview and Spooler Aspect Ratio Distortion (Squished Balloons)
- Problem: When printing or opening print preview, border art tiles with non-square natural dimensions (such as
Red_Balloon_PNG_Clip_Art-2015.png, 53x140px) were distorted into flat horizontal oval shapes. - Root Cause:
html2canvasdirectly renders images onto HTML5 2D Canvas viactx.drawImage(img, 0, 0, width, height)using element bounding dimensions, ignoring CSSobject-fit: contain. - Solution in v5.7.0: Upgraded all thumbnail requests in
elements/border-art/border-art.jsto request pre-padded 1:1 square thumbnails (&w=128&h=128&fit=contain). In addition,extensions/print-engine.jsautomatically upgrades legacy URLs and awaits image decoding before rasterization, ensuring all clipart tiles remain proportioned and upright.
2. Static Box Borders Breaking on Element Resizing
- Problem: When users applied Border Art to a textbox and then resized the box, only the top-left tile remained anchored. The other three edges remained static at their original coordinates, and no new tiles were generated to fill the enlarged perimeter.
- Root Cause: Border art was originally computed once when applied. The perimeter divisions were not tied into element drag-resize event handlers or size observer loops.
- Solution in v5.7.0: Integrated
BorderArtEngine.refreshElement(el, w, h)intocanvas/interaction-mouse.jsto recalculate tile count and edge geometry on every frame during dragging, and added a nativeResizeObserverinBorderArtEngine.applyToElementto handle dimension changes from sidebar inputs or scripts.
3. Context Menu & Format Dialog Integration Gap
- Problem: Users right-clicking a textbox or opening the Format Text Box modal dialog could not find an option to apply Border Art, forcing them to find the Border Art tool in the ribbon bar and manually toggle the target pill.
- Root Cause: Border Art was only accessible through the main application ribbon toolbar.
- Solution in v5.7.0: Added "Border Art..." directly to the right-click context menu in
ui/menus.jsbeneath "Format Text Box", and placed a dedicated "Border Art..." button inside the Format Properties modal dialog inui/ui.jsandelements/shape/shape.js. Both triggerBorderArtEngine.openForElement, which automatically selects the element, switches the target mode to "Selected Box", and anchors the gallery adjacent to the element.
4. Dropdown Menu Reaching Bottom Edge of the Window
- Problem: The Border Art dropdown menu extended all the way to the bottom edge of the screen, covering the status bar and workspace elements.
- Solution in v5.7.0: Applied a dynamic height constraint of ~80% of the available vertical space below the ribbon, providing ample bottom clearance and keeping canvas controls visible.
5. Narrow 2-Column Gallery Layout & Limited Preset Choices
- Problem: The original 2-column dropdown displayed only 20 styles and required extensive vertical scrolling.
- Solution in v5.7.0: Redesigned the gallery to use a 4-wide grid (
repeat(4, 1fr)) across a 410px menu, doubling the library to 40 distinct presets across 6 themes with compact 28px visual icons.
📁 Files Modified
| File | Changes |
|---|---|
elements/border-art/border-art.js |
Built complete Clipart Border Art engine: 40 presets across 6 categories, 4-wide grid layout, 80% dropdown height constraint, dynamic element resizing (refreshElement), element-level anchoring (openForElement), and 1:1 square aspect ratio thumbnails (fit=contain). |
extensions/print-engine.js |
Implemented print spooler border art preloader and square thumbnail upgrade pipeline before html2canvas rasterization; ensured identical editor-to-print parity. |
ui/menus.js |
Added "Border Art..." directly to the right-click context menu below "Format Text Box" and "Format AutoShape". |
elements/shape/shape.js |
Added "Border Art..." button into the Format AutoShape / Properties modal dialog and registered ContextMenuActions.openBorderArt. |
ui/ui.js |
Added "Border Art..." button into the Format Text Box dialog and wired action proxy to BorderArtEngine.openForElement. |
canvas/interaction-mouse.js |
Integrated real-time perimeter tile recalculation (BorderArtEngine.refreshElement) on every frame during element drag resizing. |
canvas/interaction.js |
Synchronized element selection state and bounding box updates with active border art wrappers. |
core/history.js |
Serialized borderart: configuration parameters into page state and element attributes for complete undo/redo support. |
core/pages.js |
Restored page and element border art during publication loading, template instantiation, and page switching. |
style.css |
Added styling for 4-wide grid layout, 410px dropdown width, 28px clipart cards, 80% max-height scrollbar, and modal action buttons. |
index.html |
Injected Border Art ribbon toolbar button in Design tab and bumped all 82 cachebuster queries to ?v=5.7.0. |
ui/dashboard.js |
Updated template fetch cachebuster query strings to ?v=5.7.0. |
sw.js |
Updated Service Worker cache name to open-publisher-v5-7-0 and header to (v5.7.0). |
extensions/legacy-fixes.js |
Updated engine startup log message to v5.7.0. |
extensions/pwa-install.js |
Updated header comment and Service Worker registration URL to sw.js?v=5.7.0. |
extensions/ui-interactions.js |
Updated About modal subtitle to • v5.7.0. |
ui/modals/options-modal.js |
Updated header comment to (v5.7.0). |
ui/sidebar-context.js |
Updated header comment to (v5.7.0). |
ui/themes.js |
Synchronized dark and light theme palette variables with border art dropdown components. |
✅ v5.7.0 Verification Checklist
- [x] Clipart Aspect Ratio Preservation: Verified that party balloons, Santas, sunflowers, and other non-square clipart retain their proper upright 1:1 aspect ratios in Chromium print previews, native prints, and exported PDFs without horizontal flattening.
- [x] Print Engine Spooler Preloader: Verified that
extensions/print-engine.jsawaits complete decoding of all.border-art-wrapper imgand.element-border-art imgtiles beforehtml2canvasrasterization, eliminating blank or skipped tiles. - [x] Right-Click Context Menu Integration: Verified that right-clicking any textbox or AutoShape displays "Border Art..." directly below "Format Text Box".
- [x] Format Text Box Modal Button: Verified that opening the Format Text Box / Format Properties dialog presents a styled "Border Art..." button in the border settings section.
- [x] Element Targeting Proxy: Verified that invoking "Border Art..." from the context menu or Format dialog automatically targets the active element, switches mode to "Selected Box", and anchors the dropdown adjacent to the element.
- [x] Dynamic Element Resizing: Verified that dragging resize handles on textboxes with border art recalculates tile divisions on every frame, expanding all four edges and generating new tiles dynamically.
- [x] Native ResizeObserver: Verified that resizing elements via sidebar inputs, text flow, or scripts automatically triggers tile recalculations.
- [x] 4-Wide Gallery Grid Layout: Verified that the Border Art dropdown renders 4 columns of preset cards within a 410px menu width with 28px clipart icons.
- [x] 40 Handcrafted Presets: Verified that all 40 presets across Holiday, Celebration, Romantic, Nature & Food, Sports, and Education load properly with correct asset URLs.
- [x] 80% Dropdown Height Constraint: Verified that the dropdown menu height is clamped to ~80% of the available vertical space below the ribbon, leaving clear margin above the status bar.
- [x] State Serialization & History: Verified that
borderart:id:size:insetparameters serialize into.opubfiles and restore accurately across page changes and undo/redo operations. - [x] Cachebuster Synchronization: Verified that all asset query parameters in
index.htmlandui/dashboard.jsare updated to?v=5.7.0. - [x] Service Worker Cache: Verified that the cache name in
sw.jsis updated toopen-publisher-v5-7-0.
🎉 Version 5.7.0 - Open Publisher