Re: Determining whether a glyph is available in Tkinter

2013-12-19 Thread wmcbrine
On Monday, December 16, 2013 10:58:06 PM UTC-5, Terry Reedy wrote: > I would not assume that the default covers more than ascii. In this case, I already know that the glyphs I chose work with the default fonts for OS X 10.4+ and Windows 7+, but not for (for example) Win XP. > But to answer your

Re: Determining whether a glyph is available in Tkinter

2013-12-16 Thread wmcbrine
I'm not going to control the font. This is for a program that's distributed to the general public, for use on a wide variety of systems. But what I do in the current version is to use the ASCII label strings by default, and have a command-line option to select the "graphical" (non-ASCII Unicode)

Determining whether a glyph is available in Tkinter

2013-12-16 Thread wmcbrine
I have a Tkinter app that can optionally label some buttons with certain Unicode glyphs that aren't always available (depending on the OS, etc.). When they aren't available, Tkinter renders them as "\u". What I'd like to do is check whether the glyphs are available, and fall back to my own a