Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.18.7
Name Modified Size InfoDownloads / Week
Parent folder
5.18.7_ Dynamic Text Highlight Font Size Scaling _ Typography Synchronization source code.tar.gz 2026-11-07 102.7 MB
5.18.7_ Dynamic Text Highlight Font Size Scaling _ Typography Synchronization source code.zip 2026-11-07 103.2 MB
README.md 2026-11-07 5.3 kB
OpenPublisher5-i386-windowsXP.exe 2026-11-07 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-11-07 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-07 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-07 233.1 MB
openpublisher5_amd64-linux.run 2026-11-07 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-07 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-07 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-07 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-07 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-07 185.5 MB
Totals: 13 Items   1.9 GB 0

πŸ“ Summary

Version 5.18.7 resolves an issue where applying a highlight color to text in a text box and subsequently increasing or decreasing the font size caused the highlight background to remain locked at the previous font size (resulting in a thin horizontal stripe across enlarged glyphs). This update introduces a dynamic highlight font-size synchronization engine in elements/text/text.js and extensions/legacy-fixes.js that continuously synchronizes highlight elements ([data-opub-hilite="true"]) with the text font size. Inline highlight containers now expand and contract in real time across ribbon inputs, stepper spin buttons, floating selection toolbars, context ribbons, and keyboard shortcuts. Partial text selections within existing highlights are cleanly segmented with independent font sizes, ensuring 100% vertical glyph height coverage.

op-DynamicTextHighlightScalingAndWorkspaceImprovements

πŸš€ Enhancements & Bug Fixes

πŸ–οΈ Dynamic Text Highlight Scaling (elements/text/text.js, extensions/legacy-fixes.js)

  • Real-Time Highlight Font Synchronization:
  • Implemented syncHighlightWithFontSize to traverse and synchronize highlight ancestor elements and nested highlight spans whenever font size commands are executed.
  • Automatically updates the computed font-size on highlight containers ([data-opub-hilite="true"]), expanding the inline background painting box to match enlarged text without requiring the user to re-highlight.
  • Supports scaling down (e.g. from 47pt down to 12pt) with proportional shrinking of the highlight background box.
  • Partial Selection Segmentation & Multi-Word Independence:
  • When resizing only a portion of highlighted text, the highlight span cleanly segments around the resized selection, assigning individual font sizes so each word or phrase has an exact-fitting highlight.
  • Ensures successive font size modifications across multiple different words in the same sentence remain completely independent, preventing previously resized highlight spans from snapping back to default sizes.
  • Restores and re-anchors the selection range across DOM segmentations, enabling smooth continuous spin button adjustments without selection collapse.
  • Universal Input Integration:
  • Tied synchronization directly into setTrueFontSize, guaranteeing instant updates from the Home ribbon font input (#font-size), spin buttons (holdSpinFontSize), context ribbon (#ctx-font-size-text), floating toolbar (#float-size), and keyboard shortcuts.
  • Highlight Application Order Independence:
  • Enhanced applySeamlessHighlight in elements/text/text.js to inherit existing font-size declarations on child <font> and <span> tags when applying new highlights, ensuring identical appearance whether highlight or font size is modified first.

πŸ“¦ Version Synchronization (v5.18.7)

Component Target Version Updated Reference
Service Worker v5.18.7 open-publisher-v5-18-7-1 in sw.js
About Dialog v5.18.7 Free Online Desktop Publishing Tool β€’ v5.18.7 in extensions/ui-interactions.js
UI Interactions Header v5.18.7 Header documentation in extensions/ui-interactions.js
Text Engine v5.18.7 syncHighlightWithFontSize in elements/text/text.js
Legacy Fixes Engine v5.18.7 Font size highlight synchronization in extensions/legacy-fixes.js
Line Spacing Modal v5.18.7 Header documentation in ui/modals/line-spacing-modal.js
Export Template Modal v5.18.7 Package metadata and README in ui/modals/export-template-modal.js
Style Header v5.18.7 Header documentation in style.css
Dashboard Controller v5.18.7 Asset query cachebusters in ui/dashboard.js
Template Asset Loaders v5.18.7 getTemplateAssetUrl in elements/templates/templates.js and ui/dashboard.js
PWA Installer v5.18.7 Registration query in extensions/pwa-install.js
Application Cachebusters v5.18.7 All 94 script and stylesheet links updated to ?v=5.18.7 in index.html
Context Menus v5.18.7 WordArt and KB icon cachebusters in ui/menus.js
README Documentation v5.18.7 Button asset cachebusters updated in README.md

βœ… Checklist Completed

  • [x] Implement syncHighlightWithFontSize in elements/text/text.js
  • [x] Integrate highlight synchronization into setTrueFontSize in extensions/legacy-fixes.js
  • [x] Support partial text selection splitting with independent highlight sizing
  • [x] Support two-way scaling (increasing and decreasing font size on highlighted text)
  • [x] Ensure seamless integration across ribbon font input, spin buttons, float toolbar, and shortcuts
  • [x] Bump Service Worker cache bucket to open-publisher-v5-18-7-1 in sw.js
  • [x] Synchronize application version and About dialog subtitle to v5.18.7
  • [x] Update all asset cachebusters across index.html, ui/dashboard.js, ui/menus.js, and README.md to ?v=5.18.7

πŸ“– Version 5.18.7 - Open Publisher

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