[Tuxpaint-devel] Tux Paint Config. uifont allows manual input, too
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2023-06-14 07:20:50
|
I've added a "[manual]" entry to the list of UI fonts in Tux Paint Config. If you select it, a type-in field appears below which allows you to enter a price font name. Useful in case Pango isn't showing you the font (perhaps you're using TPC on one machine to make a config to share on a set of other machines with different fonts installed?!) Also, as you type, if any fonts in the list DO match (basic strcasestr() comparison), they will be made visible, encouraging you to just click in the selection box, if they match what you're looking for. (e.g., type "free" and you'll see "FreeMono", "FreeSans", and "FreeSerif" appear.) It's not super complicated. It IS a lot better than trying to use Fl_Input_Choice pulldown menu for this. (On my system, any pulldown showing my fonts is a mile long!) Note: If the manually-entered font matches a font actually found by pango, then the next time you launch Tux Paint Config., it will be simply selected in the menu. However, if the "uifont" setting doesn't match any of the fonts found by pango, the menu will automatically have "[manual]" selected, and the font's name entered in the type-in field. Hope that all makes sense... I'm pretty beat & need to get to bed! -- -bill! Sent from my computer |