| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher-5-x86_64.AppImage | 2026-10-02 | 166.4 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-02 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-02 | 165.2 MB | |
| 5.2.2_ Ultra High-Resolution WordArt Engine_ Dynamic Print _ Anisotropic In-Editor Supersampling source code.tar.gz | 2026-10-02 | 22.4 MB | |
| 5.2.2_ Ultra High-Resolution WordArt Engine_ Dynamic Print _ Anisotropic In-Editor Supersampling source code.zip | 2026-10-02 | 22.7 MB | |
| README.md | 2026-10-02 | 10.5 kB | |
| openpublisher5_amd64-macos.dmg | 2026-10-02 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-02 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-02 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-02 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-02 | 156.2 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-02 | 185.5 MB | |
| Totals: 12 Items | 1.7 GB | 0 | |
π Summary
Version 5.2.2 delivers a comprehensive high-resolution rasterization and anisotropic supersampling engine for WordArt, establishing vector-grade sharpness across both the physical print/PDF export pipeline and the interactive in-editor canvas workspace. WordArt now dynamically renders with independent horizontal and vertical scaling (up to 12.0x width and 18.0x height supersampling), generating rasters up to 6,000 pixels wide and 4,500 pixels high. This completely eliminates blur when WordArt is stretched tall, stretched wide, or viewed on 1080p, 1440p, 4K, and high-DPI Retina screens.
Crucially, WordArt strictly remains flattened to pure image/PNG formats as required to prevent font misalignment, layout shifting, and text-offset bugs across diverse printers and PDF readers. By pairing synchronized high-resolution offscreen canvas rendering with physical shadow scaling, real-time debounced drag re-baking, hardware contrast optimization, and strict decoding hooks, WordArt is razor-sharp regardless of canvas enlargement or stretch.
In addition, version 5.2.2 fixes a critical page serializer bug where WordArt elements lost metadata on page transitions, automatically upgrades existing WordArt across loaded publications, and synchronizes cachebusters across all application components, Service Worker (open-publisher-v5-2-2), PWA registration, and dashboard template fetching.
π Root Cause Analysis of Editor Blur on Stretch
The printed WordArt was already razor-sharp, but in-editor stretched WordArt appeared blurry due to three interconnected factors:
-
Vertical Aspect-Ratio Starvation in Canvas 2D: Previous scaling evaluated display dimensions using a single uniform multiplier. Because WordArt text is naturally 4x to 8x wider than it is tall, a uniform scale factor capped at 8.0 generated a canvas ~5,000px wide but only ~1,000px tall. When a user stretched the element box taller (e.g., to 400px - 600px tall), CSS
object-fit: fillstretched those 1,000 vertical pixels into the tall box. On high-DPI screens (150% - 200% scaling), this yielded less than 1.0x physical pixel density, causing noticeable vertical blurring and soft edges. -
Absence of Real-Time Drag Re-Baking: During mouse drag resizing in
extensions/system-patches.js, CSSstyle.widthandstyle.heightwere updated on every mouse move, but WordArt re-baking was completely absent until mouse release. Users observed an intensely stretched, pixelated raster while actively adjusting dimensions. -
Chromium Texture Bilinear Resampling: Without explicit CSS
image-renderinghints, Chromium applies a standard bilinear texture filter across scaled canvas images. Adding-webkit-optimize-contrastandhigh-qualityforces Chromium to prioritize crisp edge definition and contrast over soft bilinear blending.
π‘ Architectural Solution: Anisotropic Supersampling Engine
Rather than compromising print reliability by using fragile live SVG/CSS text, Open Publisher 5.2.2 implements an automated anisotropic supersampling pipeline across both print and editor workflows:
-
Independent Dual-Axis Scaling (
safeScaleX&safeScaleY):renderWordArtCanvasSyncandgenerateWordArtPNGnow accept independent horizontal and vertical scale multipliers:safeScaleX = Math.max(0.5, Math.min(12.0, scaleFactorX));safeScaleY = Math.max(0.5, Math.min(18.0, scaleFactorY));The 2D canvas context renders vector glyphs, paths, and gradients directly at the exact aspect ratio of the user's element box. When trimmed, the PNG matches the display aspect ratio, meaning CSSobject-fit: fillrequires zero non-uniform distortion. -
Synchronous Baseline Dimension Caching (
baselineDimCache): Baseline unscaled dimensions are synchronously cached upon first render. When an element is resized,refreshBetaWordArtretrieves the baseline bounds instantly without asynchronous image loading, computing target pixel dimensions guaranteed at 3.0x to 4.5x device pixel density:targetW = Math.max(800, Math.min(6000, Math.round(dispW * supersample)));targetH = Math.max(400, Math.min(4500, Math.round(dispH * supersample)));scaleX = Math.max(0.8, Math.min(12.0, targetW / baseW));scaleY = Math.max(0.8, Math.min(18.0, targetH / baseH)); -
Real-Time Debounced Drag Sharpening (40ms): In
extensions/system-patches.js,canvas/interaction-mouse.js, andcanvas/interaction.js, mouse move events during resize trigger a high-performance 40ms debouncedrefreshBetaWordArt(state.selectedEl). WordArt dynamically sharpens in real time as the user drags, followed by immediate execution on mouse release. -
Hardware-Optimized Contrast (
style.css):.beta-wa-imgnow includes:image-rendering: -webkit-optimize-contrast;image-rendering: high-quality;This tells Chromium's GPU compositor to preserve razor-sharp edges and high-contrast boundaries when displaying scaled rasters. -
Ribbon & Properties Panel Synchronization (
ui/ui.js): Adjusting element width or height numeric inputs in the ribbon or properties panel immediately callsrefreshBetaWordArt(el), ensuring dimension edits via inputs achieve identical vector clarity. -
Service Worker Disk-Cache Bypass (
sw.js): The fetch event listener insw.jsnow usesfetch(event.request, { cache: 'no-cache' }). This guarantees that browser reloads fetch fresh scripts from the server rather than serving stale disk-cached JavaScript files.
π οΈ Files Modified
- beta-wordart.js: Implemented independent
safeScaleXandsafeScaleYup to 12.0x and 18.0x, synchronousbaselineDimCache, and anisotropicrefreshBetaWordArt. - style.css: Added
-webkit-optimize-contrastandhigh-qualityimage rendering to.beta-wa-img. - system-patches.js: Added 40ms debounced real-time WordArt sharpening during handle drag in the master mousemove loop.
- interaction-mouse.js: Added 40ms debounced sharpening in
handleMouseMoveand immediate execution onhandleMouseUp. - interaction.js: Added debounced sharpening in
handleMouseMoveand immediate execution onhandleMouseUp. - ui.js: Added
refreshBetaWordArt(el)trigger when dimensions change via ribbon inputs. - print-engine.js: Updated
buildPrintDOMandprintFullDocumentwith anisotropic scale calculation for 300 to 600 DPI print output. - sw.js: Added
{ cache: 'no-cache' }to fetch handler to prevent stale client caching. - core/pages.js: Integrated
upgradeAllCanvasWordArtintorenderPage(). - core/history.js: Preserved WordArt type, text, and style attributes in
serializeCurrentPage(). - canvas/canvas.js: Added debounced
upgradeAllCanvasWordArton canvas zoom adjustments. - index.html: Synchronized all 77 script and style tags to
?v=5.2.2.
π§ͺ Verification & Automated Testing
| Test / Scenario | Verification Metric | Result | Output Details |
|---|---|---|---|
| Initial Insertion | Natural resolution vs element box | Passed | 1118px x 163px box -> 3348px x 487px PNG (2.99x supersampling) |
| Tall Box Stretch | Stretch to 700px x 500px | Passed | Natural size: 2121px x 1494px (3.03x width, 2.99x height density) |
| Wide Banner Stretch | Stretch to 1600px x 250px | Passed | Natural size: 4799px x 747px (3.00x width, 2.99x height density) |
| Print Spooler High-Res Baking | Native print spooler .beta-wa-img |
Passed | Automatically baked to 2976px x 750px high-resolution PNG |
| Visual Edge Sharpness | Chromium 2x Retina screenshot | Passed | Razor-sharp letterforms, gradient bevels, and outlines with zero blur |
| Layout Stability | Handle positions & bounding box | Passed | Zero layout shifts, detached handles, or reflow glitches |
| History & Page Serialization | Serialize / restore page cycle | Passed | WordArt type, text, and style attributes 100% retained |
| Browser Runtime Stability | Console logs & error listeners | Passed | 0 JavaScript errors or unhandled promise rejections |
β Checklist Completed
- [x] Anisotropic Resolution Engine: Supported independent
scaleX(up to 12.0x) andscaleY(up to 18.0x) inrenderWordArtCanvasSyncandgenerateWordArtPNG. - [x] Baseline Dimension Caching: Implemented
baselineDimCacheto synchronously determine unscaled dimensions. - [x] Multi-Dimensional In-Editor Upscaling: WordArt stretched tall (500px+) generates ~1500px to 2500px vertical resolution; WordArt stretched wide generates ~4800px horizontal resolution.
- [x] Real-Time Drag Sharpening: Added 40ms debounced
refreshBetaWordArtduring handle dragging insystem-patches.js,interaction-mouse.js, andinteraction.js. - [x] UI Ribbon Integration: Hooked
refreshBetaWordArt(el)intoui/ui.jsdimension inputs. - [x] Hardware Contrast Hints: Added
-webkit-optimize-contrastandhigh-qualityto.beta-wa-imginstyle.css. - [x] Print Spooler & PDF Baking: Updated
extensions/print-engine.jswith matching anisotropic upscaling for 300-600 DPI output. - [x] Service Worker Cache Bypass: Added
{ cache: 'no-cache' }tosw.jsnetwork fetch handler. - [x] Version Lock: Kept version strictly at
5.2.2across all files, cachebusters, and documentation. - [x] No Em Dashes: Zero em dashes used in all markdown documents and release notes.
π Version 5.2.2 - Open Publisher