Support <include> directive in FontConfig conf files

When parsing FontConfig "fonts.conf" files, supporting
(via homegrown code) "<include>" directives, to include
another conf file, or a directory of conf files.
(h/t Will Thompson for pointing this out)
This commit is contained in:
Bill Kendrick 2025-07-24 03:10:20 +01:00
parent 02f3507f58
commit 1da3489e0a
2 changed files with 178 additions and 104 deletions

View file

@ -6,7 +6,7 @@ Copyright (c) 2002-2025
Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2025.July.18 (0.9.36)
2025.July.24 (0.9.36)
* Documentation updates:
----------------------
+ Describe where Tux Paint searches for system fonts,
@ -14,6 +14,14 @@ https://tuxpaint.org/
for the 'Text' and 'Label' tools (EXTENDING and ENVVARS).
Bill Kendrick <bill@newbreedsoftware.com>
* Text & Label Tool Improvements:
-------------------------------
+ When parsing FontConfig "fonts.conf" files, supporting
(via homegrown code) "<include>" directives, to include
another conf file, or a directory of conf files.
Bill Kendrick <bill@newbreedsoftware.com>
h/t Will Thompson for pointing this out
* Bug Fixes:
----------
+ When Magic tools are not grouped ("ungroupmagictools"),