delorie.com/archives/browse.cgi | search |
On Thu, 2012-10-18 at 09:39 -0700, Colin D Bennett wrote: > On Thu, 18 Oct 2012 02:08:31 +0200 > Stefan Salewski <mail AT ssalewski DOT de> wrote: > > > But currently I have no idea how to check what font an application > > really uses. At least it must be one of the gentoo (Gnome2) base > > fonts, I have no extra font packages installed. > > I have wondered this too. A few minutes of research showed that > fontconfig, which implements the font matching algorithm, has a > nice FC_DEBUG environment variable that is useful. > > Try running gschem like this: > > FC_DEBUG=1 gschem > Good to know this, thanks. Seems that on my gentoo box gschem uses DejaVuSans.ttf. Other Gnome2 tools like gedit or eog uses that font too, it seems to be the default for my box, and works fine for gschem. stefan AT AMD64X2 ~ $ FC_DEBUG=1 gschem|egrep "^\s*(fullname|file):" fullname: "DejaVu Sans"(w) file: "/usr/share/fonts/dejavu/DejaVuSans.ttf"(w) fullname: "DejaVu Sans"(w) file: "/usr/share/fonts/dejavu/DejaVuSans.ttf"(w) file: "/usr/share/fonts/urw-fonts/n019003l.pfb"(w) (gschem:2630): GLib-GObject-WARNING **: g_object_set_valist: construct property "type" for object `Log' can't be set after construction file: "/usr/share/fonts/urw-fonts/n019003l.pfb"(w) file: "/usr/share/fonts/urw-fonts/n019003l.pfb"(w) file: "/usr/share/fonts/urw-fonts/n019003l.pfb"(w) stefan AT AMD64X2 ~ $ stefan AT AMD64X2 ~ $ stefan AT AMD64X2 ~ $ stefan AT AMD64X2 ~ $ stefan AT AMD64X2 ~ $ stefan AT AMD64X2 ~ $ FC_DEBUG=1 eog|egrep "^\s*(fullname|file):" fullname: "DejaVu Sans"(w) file: "/usr/share/fonts/dejavu/DejaVuSans.ttf"(w) fullname: "DejaVu Sans"(w) file: "/usr/share/fonts/dejavu/DejaVuSans.ttf"(w) stefan AT AMD64X2 ~ $
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |