Skip to content

v5.2.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:17
· 17 commits to master since this release

[5.2.0] - 2026-11-23

Added

  • Added FcDesktopFont and FcDesktopFonts to parse desktop font preferences (Pango and Qt formats).
  • Added desktop-detect feature to query Linux desktop font preferences via XDG Portal, GNOME, and KDE.
  • Added FcFallbackConfig::{set_generic, prefer, prefer_for} and FcFontCache::modify_fallback_config.
  • Added FcFontCache::variation() to read variable font axes from fvar.
  • Added FcFontCache::variable_instance() to generate static synthetic faces for chosen axis values.
  • Added standalone FcReadVariation() and FcCreateVariableInstance() functions for raw font bytes.
  • Added FC_MAX_INSTANCES_PER_FACE and FC_MAX_INSTANCE_BYTES_PER_FACE cache limits.
  • Added FcFontCache::add_font_dir() to add the fonts of a directory to the cache.