Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.17.10
Name Modified Size InfoDownloads / Week
Parent folder
OpenPublisher5-i386-windowsXP.exe 2026-11-04 56.5 MB
openpublisher5_amd64-windows-portable.exe 2026-11-04 183.2 MB
openpublisher5_amd64-windows.exe 2026-11-04 165.2 MB
openpublisher5_amd64-macos.dmg 2026-11-04 233.1 MB
openpublisher5_amd64-linux.run 2026-11-04 193.4 MB
openpublisher5_amd64-linux.rpm 2026-11-04 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-11-04 153.6 MB
openpublisher5_amd64-linux.deb 2026-11-04 156.2 MB
openpublisher5_amd64-linux.AppImage 2026-11-04 166.4 MB
openpublisher5_amd64-freebsd.pkg 2026-11-04 185.5 MB
5.17.10_ Document Fonts Top Section in Font Dropdown Menus source code.tar.gz 2026-11-04 102.6 MB
5.17.10_ Document Fonts Top Section in Font Dropdown Menus source code.zip 2026-11-04 103.1 MB
README.md 2026-11-04 20.2 kB
Totals: 13 Items   1.9 GB 0

📝 Summary

Version 5.17.10 introduces a dynamic Document Fonts section positioned at the top of the font family dropdown menus across the ribbon toolbar and floating formatting bar, giving users immediate access to all typography active within the open publication. On initial application launch or when viewing a blank canvas with no text boxes, the font dropdown remains in its standard clean alphabetical layout with no extra headers or dividers. As text boxes, styled callouts, shape text, WordArt, or formatted tables are added across single or multi-page documents, an intelligent extraction engine scans the canvas and document state to identify every active font family, instantly placing them under a dedicated Document Fonts header at the top of the menu separated by a subtle divider from the full alphabetical library. Selecting any document font applies it instantaneously to the active selection with full keyboard arrow and letter navigation support, while the application version has been synchronized to 5.17.10 across the Service Worker (open-publisher-v5-17-10-1), About modal, template loaders, and asset cachebusters.

op-DocumentFontTopSectionInFontDropdownMenus

🚀 Enhancements & Features

🔤 Dynamic Document Fonts Top Section (elements/text/text.js)

  • Intelligent Canvas & Multi-Page Font Scanner (getDocumentFonts):
    • Automatically interrogates all live .pub-element containers on the canvas (paper), checking explicit inline styles, <font face> tags, WordArt text, shape text, captions, and table cells.
    • Inspects page headers (.page-header) and footers (.page-footer) for custom typography.
    • Seamlessly scans serialized pages (state.pages) in multi-page documents, extracting fonts used across other publication pages without requiring manual page switches.
    • Filters out generic CSS fallbacks (such as sans-serif, serif, monospace, system-ui) and normalizes primary font families with canonical casing matching the OpenPublisher font registry.
  • Dynamic Dropdown Section Builder (updateDocumentFontsSection):
    • Dynamically prepends a dedicated .font-dropdown-doc-section at the very top of both the Ribbon font menu (#ribbon-font-list) and Floating Toolbar menu (#float-font-list).
    • When no text boxes or active fonts are present in the publication (such as on startup or when starting with a blank page), the section cleanly hides itself, keeping the dropdown in its normal alphabetical state.
    • When fonts are detected in the publication, they are presented under a crisp Document Fonts section header in sorted alphabetical order, followed by a dividing line and an All Fonts header leading into the complete font library.
    • Employs an internal signature cache key (_lastDocFontsKey) to prevent redundant DOM updates and eliminate menu stutter during rapid opening or selection.
  • Native Selection & Keyboard Navigation Parity:
    • Each item in the Document Fonts section is rendered as a native .font-item with its font family applied directly, ensuring seamless hover highlights, theme color accents, and full keyboard arrow, Enter, and letter navigation support.
    • Opening the dropdown automatically prioritizes and pre-highlights the active font within the Document Fonts section, keeping the current font visible right at the top without requiring deep scrolling.

🎨 Polished Dropdown Typography & Dark Mode Styles (style.css)

  • Section Headers (.font-dropdown-section-header):
    • Crisp, non-selectable 10px uppercase tracking labels designed to blend seamlessly with Microsoft Publisher and standard desktop publishing aesthetics.
    • Styled with pointer-events: none and user-select: none so mouse clicks and selection gestures never stick to section headers.
  • Divider (.font-dropdown-divider):
    • Subtle 1px theme border separation providing visual rhythm between document-specific fonts and the global font library.
  • Dark Mode Support:
    • Dedicated dark theme overrides for section headers (#9ca3af) and dividers (rgba(255, 255, 255, 0.12)) ensuring high contrast and legibility across all UI themes.

🎯 Dropdown Integration Hooks (ui/sidebar-context.js, extensions/ui-interactions.js, extensions/legacy-fixes.js)

  • Ribbon & Contextual Tabs:
    • Hooked updateDocumentFontsSection() directly into toggleCustomDropdown('ribbon') and contextual ribbon triggers (ctx-ribbon), ensuring document fonts are freshly synchronized whenever the user clicks the font selector on the Home tab, Text Tools tab, or WordArt tab.
  • Floating Toolbar:
    • Hooked updateDocumentFontsSection() into toggleFloatFontDropdown() on the floating text formatting toolbar, keeping document fonts available during direct canvas text editing.

📦 Version Synchronization (v5.17.10)

Component | Target Version | Updated Reference -- | -- | -- Service Worker | v5.17.10 | open-publisher-v5-17-10-1 in sw.js About Dialog | v5.17.10 | Free Online Desktop Publishing Tool • v5.17.10 in extensions/ui-interactions.js Text Engine Header | v5.17.10 | Header documentation in elements/text/text.js Style Header | v5.17.10 | Document fonts section header in style.css Export Template Modal | v5.17.10 | Package metadata and README in ui/modals/export-template-modal.js Line Spacing Modal | v5.17.10 | Header documentation in ui/modals/line-spacing-modal.js Template Asset Loaders | v5.17.10 | getTemplateAssetUrl in elements/templates/templates.js and ui/dashboard.js Application Cachebusters | v5.17.10 | All 93 module script and stylesheet links updated to ?v=5.17.10 in index.html Context Menus | v5.17.10 | WordArt icon cachebusters in ui/menus.js

✅ Checklist Completed

  • Implement document font extraction engine (getDocumentFonts) in elements/text/text.js
  • Support scanning live canvas elements, page headers, footers, and multi-page serialized pages (state.pages)
  • Build dynamic top section manager (updateDocumentFontsSection) for #ribbon-font-list and #float-font-list
  • Ensure font dropdown appears normal on startup / blank publication when no fonts are used in the document
  • Display active publication fonts under Document Fonts header followed by divider and All Fonts header
  • Add high-contrast styling and dark mode overrides for headers and dividers in style.css
  • Integrate document font refresh into ribbon dropdowns (ui/sidebar-context.js, extensions/ui-interactions.js) and floating toolbar (extensions/legacy-fixes.js)
  • Bump application version and About dialog to v5.17.10
  • Bump Service Worker cache bucket to open-publisher-v5-17-10-1 in sw.js
  • Synchronize all asset cachebusters across index.html, ui/dashboard.js, and ui/menus.js to ?v=5.17.10
  • Validate balanced JavaScript syntax and bracket pairs across all modified files

📖 Version 5.17.10 - Open Publisher

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