2.17.0 released
Akira TAGOH
akira at tagoh.org
Fri Jun 27 04:18:42 UTC 2025
Hi,
I've made a new release of fontconfig, 2.17.0. This contains bug
fixes, improvements, and new APIs. let me pick up few important
changes in this release:
* No fallback decoding to UTF-16BE if built with no iconv support
We basically rely on iconv to decode non-UTF-16BE encoded strings in
a font though, In previous releases, broken strings was added into a
cache if no iconv support and a font is encoded with non-UTF-16BE. We
decided to drop such broken strings. Please enable iconv support if
you want to add non-UTF-16BE encoded strings in a font to caches.
* Fix a memory leak around FcFini()
This has been done by moving some memory pointers into FcConfig.
Because of this, few APIs needed to be modified to take a FcConfig as
an argument. The old APIs still work with the default FcConfig
instance. Your code may need to be updated if they are on
multi-threads. The affected APIs are:
FcGetDefaultLangs() -> FcConfigGetDefaultLangs()
FcDefaultSubstitute() -> FcConfigSetDefaultSubstitute()
* No config migration code
We've ever used $HOME/.fonts.conf and $HOME/.fonts.conf.d to have a
user-own fontconfig config files and have migrated to XDG-based. It
worked well and I don't think it is still needed. So dropped (as a
part of FcFini() changes/fixes) and no longer try to migrate.
* Allow scanning dotfiles
fontconfig is capable of scanning dotfiles for fonts.
* new build option to choose bitmap config
Choose one of:
yes -> 70-yes-bitmaps.conf
no -> 70-no-bitmaps-and-emoji.conf
no-except-emoji -> 70-no-bitmaps-except-emoji.conf
Please check a release note in
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/releases/2.17.0
for full-summary of this release and download link is also there.
Regards,
--
Akira TAGOH
More information about the Fontconfig
mailing list