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-23 00:20:08
|
On Sat, 22 Feb 2025 12:04:47 -0800, Bill Kendrick wrote: >I think a good test for you would be to place some new fonts in a folder >somewhere _outside_ of the places Tux Paint is already explicitly searching >(which seems to only be those two locations above). > >Launch Tux Paint. It should NOT find the new fonts, since it has no >reason to be searching the folder where you put them. > >Then, add the path of that folder to a "<dir>" section of the "fonts.conf" >that Tux Paint is loading. So far -- assuming I did it right -- it should >be looking in the "etc/fonts/fonts.conf" inside Tux Paint's own folder >(C:\Program Files\TuxPaint\, I guess?) > >Launch Tux Paint again. It should now find the new fonts... hopefully! > >If that works, then we're moving in the right direction. I tested this like, * Downloaded very funny free font and stored it in "C:\FontTest" * Confirmed TP does not load it. * Added "<dir>C:/FontTest</dir>" to fonts.conf shipped with TP. * Confirmed TO load it. I think it's fine now for Windows. Thanks. -- Shin-ichi TOYAMA <dol...@wm...> |