[Tuxpaint-devel] Windows & Android (& others?) FontConfig `fonts.conf` parsing
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2025-02-16 20:57:30
|
I've been quite busy lately, and was just trying to remind myself what's up in the in-progress 0.9.35 version of Tux Paint. In CHANGES.txt I spotted this entry: + WIP Checking for fonts in any locations specified by "<dir>" entries found in system-wide and user-level FontConfig config files. This allows more fonts, and user-specific fonts, to be found & loaded. - TODO - Looks in $FONTCONFIG_PATH/fonts.conf on macOS/iOS, `/boot/system/settings/fonts/fonts.conf` on Haiku, otherwise the Un*x-specific `/etc/fonts/fonts.conf` and `~/.config/fontconfig/fonts.conf`. Should look in the correct places on other platforms. - Note: This adds a build dependency on `libxml-2.0`. Pere and Shin-ichi, I'm sure I asked already, but can you let me know what else, if anything, we should add so that Tux Paint can find a user's `fonts.conf` (FontConfig XML configuration file) so the Android & Windows builds of Tux Paint can also take advantage of this new capability...? And of course if anyone else out here has suggestions for more OS-specific paths that we should look at, please speak up! Thanks in advance! -bill! PS - As a reminder, the _other_ things coming in 0.9.35 (so far) are: * "emitter" (heart, stars, sparkles) magic tools * text pasting (copy/paste buffer) in Text & Label tools * UX improvement to HSV color picker * minor doc improvements * some build improvements (NetBSD, Slackware) * less noise to STDOUT |