How can I use any type of font in my font library on my computer (e.g. *otf
or *ttf
) in all my matplotlib
figures?
Is there a way to change a Tkinter widget’s font style without knowing the widget’s font family and font size?
I am making an interface in Tkinter and I need to have custom fonts. Not just, say, Helvetica at a certain size or whatever, but fonts other than what would normally be available on any given platform. This would be something that would be kept with the program as an image file or (preferably) Truetype font file or similar. I don’t want to have to install the desired fonts on every machine that is going to use the program, I just want to carry them around with the program in the same directory.
I would like to change the system (console) font of my ubuntu server to a custom (downloaded) font. Is this possible?
I want to view the fonts that are installed on my system. Specifically, I want the client-side (fontconfig) fonts, not the old-style X11 bitmap fonts on the server (for which xfontsel does an adequate job). I guess what I’m looking for would be called a font viewer or font gallery. I want to see a bit of sample text for each font, ideally configurable sample text.
My font rendering in Firefox looks terrible on pages such as facebook.com and twitter.com:
In Fedora 22, in KDE (plasma) System Settings -> Font -> Fonts, the setting for “General” is “Sans Serif 10”, for “Fixed width” is “Monospace 10”, for “small” is “Sans Serif 8”, for “Toolbar” is “Sans Serif 9”, for “Menu” is “Sans Serif 10”, and for “Window title” is “OxygenSans 10”.
If I launch xterm
with its default bitmap fonts and then select the ‘Large’ font from the ‘VT Fonts’ menu (via ctrl+right mouse
), I get a very usable bitmap font with apparently good Japanese character support.
I am using Ubuntu 14.04 and 16.04. On 14.04 I additionally installed Terminology.
Given a directory of font files (TTF and OTF) I’d like to inspect each font and determine what style (regular, italic, bold, bold-italic) it is. Is there a command line tool for unix flavored operating systems that can do this? Or does anyone know how to extract the metadata from a TTF or OTF font file?