Project: QGIS

Version: 3.28

Feature: Add support for "user" fonts, and automatic downloading of freely licensed fonts

A new "Fonts" panel has been added to the settings dialog, which provides support for the following functionalities:

  • The ability for users to populate a list of automatic font replacements to apply when loading projects or styles, allowing better support for projects and styles to be used across different operating systems (e.g. replace "Arial" with "Helvetica").
  • Users can now place TTF or OTF fonts in the "fonts" subfolder of their user profile. These fonts will automatically be loaded at QGIS startup time. This provides a way for users to use fonts without requiring them to be installed on an operating system level, which is often blocked in enterprise environments. The Fonts setting panel lists all installed user fonts and allows users to manage (i.e. remove) previously installed user fonts
  • An API is provided for other tools, such as plugins and other clients, to specify additional user font folders which should be scanned during QGIS startup
  • Automatic downloading of missing fonts is now supported in certain circumstances. If a user opens a project or style, or they try to load a vector tile layer that references fonts that aren't currently available, then a hard-coded list of freely licensed fonts to download via URL is consulted to determine whether it's possible to automatically download the font to the user font directory (and notify the user of the font license). A setting to opt out of this behavior is provided in the Fonts panel if so desired.

This feature was funded by Toitū Te Whenua Land Information New Zealand

This feature was developed by Nyall Dawson