Re: [Tuxpaint-devel] UI font configuration
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2023-06-03 09:02:37
|
On Wed, May 31, 2023 at 11:09:56AM +0900, Shin-ichi TOYAMA wrote: <snip> > [Tux Paint] > * I think "ja.ttf" shipped with Tux Paint is better than default font for Japanese locale. > Is it possible to change default font according to the locale? > * It would be beneficail to get a list of available fonts (--uifont help ?) tuxpaint --listfonts will do this for you :) > [Tux Paint Config] > * Apply button should be enabled after editting text box. I added o->when(FL_WHEN_CHANGED) to a lot of things. Let me know if anything else needs it! > * It would be benefical if user could select a font from available font list. Done. I opted for an Fl_Hold_Browser, which was much better than trying to use a pulldown menu (Fl_Choice), as I have around 450 fonts installed! I couldn't get Fl_Input_Choice to do what I want... not at <checks clock> 2am in the morning. :) I think this will be suitable. If anyone here REALLY wants something more clever, then please propose something -- especially if you can provide the code to go with it. ;) Right now I've got one "ball in the air" (juggling terminology), which is that the new "Erase" button in Tux Paint's "New" dialog is happy to delete ANY personal template file, not just those exported from within Tux Paint itself. Once I wrap that up, what's in "master" could actually be ready for a release, and will include a bunch of great improvements! It's only been 3 weeks since the last release, though, so... I'll let things cool off for a bit. ;-D -bill! |