Re: [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: Shin-ichi T. <dol...@wm...> - 2025-02-22 07:26:25
|
Hi! I had made it to load fonts stored in user's font directory on Windows. See commit 365ee3ea20af489996e045f97ae2d874e43f5591 Then I think there is no more thing to be added so far. Thanks On Sun, 16 Feb 2025 12:57:15 -0800, Bill Kendrick wrote: > >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 > > > >_______________________________________________ >Tuxpaint-devel mailing list >Tux...@li... >https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel -- Shin-ichi TOYAMA <dol...@wm...> |