Re: [Tuxpaint-devel] Musical symbols instead of text on UI labels!?
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2022-12-05 07:34:24
|
I've also been reminded that we had a request to actually consider changing the defualt font to something like SIL Andika (https://software.sil.org/andika/), long long ago: https://sourceforge.net/p/tuxpaint/feature-requests/146/ I tried changing the hard-coded #define (quoted below) to "Andika" and posted an example: https://twitter.com/TuxPaintTweets/status/1599667060623413248 I think (per my comment in that ticket, 12 years ago!) that it might be nice to allow having whatever default font we choose (I'm leaning towards DejaVu Sans) with a user-chosen font, via config settings. e.g.,: tuxpaint --uifont="Andika" (If it fails, fall back to our default.) -bill! On Sun, Dec 04, 2022 at 10:35:45PM -0800, Bill Kendrick wrote: > On Fri, Dec 02, 2022 at 08:31:59PM -0500, Mark K. Kim wrote: > > Hi team, > > > > The issue has been resolved in a separate email thread. It involved a few > > changes, mostly limited to macOS, but one affecting all platforms. Would > > anyone object to changing this setting in fonts.h: > > > > #define PANGO_DEFAULT_FONT "BitStream Vera" > > > > > > to: > > > > #define PANGO_DEFAULT_FONT "DejaVu Sans" > > > > > > ? > > > > It appears the default font we use, default_font.ttf, is actually named > > "DejaVu Sans", so attempting to load it using the name "BitStream Vera" can > > load a different font. > > I guess I don't have any objection. They are very similar, > though DejaVu Sans seems to be wider, but not as tall > (less whitespace above the text in the Tux tip section at > the bottom of the UI). > > So while some strings (in English) now word-wrap differently > and potentially take up more space, I think the improved > vertical packing will counteract it. > > In terms of readability, they seem about the same. > In situations where text needs to get compressed horizontally > to fit on a button (e.g., "Color & White" magic tool), > they both have some good-looking and some bad-looking > results, so it's not like one is obviously a lot better > or worse than the other. > > I'm using default config (800x600 window, 48x48 buttons). > > Hrm actually, in a larger button size (78x78, the most I can > get with 1024x768 window), they look a bit better because > they are taller. > > So unless anyone else has any objections or problems, > I'm fine with it! > > I'll toy around with it in different locales, too, > and will follow-up if I notice anything weird. > > Thanks! > > -bill! > > > > > Happy holidays everyone! > > > > Mark > > > > On Mon, Nov 28, 2022 at 5:37 PM Bill Kendrick <nb...@so...> wrote: > > > > > > > > A user has reported that Tux Paint is showing random > > > musical glyphs, rather than text (e.g., "Tools", "Colors", > > > "Stamps", "Undo", etc.) in the UI! > > > > > > This is on macOS Monterey (also reproduced on Sierra), > > > with the latest version of Tux Paint (0.9.28). > > > > > > The user has not adjusted any TP settings, but I had them > > > try to set Tux Paint up in English (I'm actually unclear > > > whether they did this at the TP-level or OS-wide), and > > > apparently the issues persists. > > > > > > Screenshot here: > > > > > > https://sourceforge.net/p/tuxpaint/bugs/265/ > > > > > > Mark, any ideas here? What other questions should I ask them? > > > > > > Thanks in advance, > > > > > > PS - I was hoping to get 0.9.29 out before year's end, but we > > > keep discovering these odd bugs that affect a handful of people. > > > > > > -- > > > -bill! > > > Sent from my computer > > > > > > > > > _______________________________________________ > > > Tuxpaint-devel mailing list > > > Tux...@li... > > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > > > > > _______________________________________________ > > Tuxpaint-devel mailing list > > Tux...@li... > > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel > > > -- > -bill! > Sent from my computer -- -bill! Sent from my computer |