[GRASS-dev] default display font selection in GUI

Maciej Sieczka tutey at o2.pl
Mon Apr 30 04:43:49 EDT 2007


Hamish wrote:
> Michael Barton wrote:
>> I^(1)ve added a menu option (under configure) to make it easier to set
>> the default font for displayed text in GRASS. It works pretty well
>> with my Mac, but it needs to be tested on other systems. Currently it
>> tries to get you to a reasonable possibility for a directory
>> containing your fonts. On the Mac, it goes to  /Library/Fonts, on
>> Windows, it starts at $WINDIR/fonts, on other systems, it starts at
>> /usr/lib/x11/fonts. If one of these directories does not contain your
>> fonts, you can browse to it. The font selection dialog will retain
>> your settings throughout the GRASS session to make it easy to change
>> default display fonts.
> 
> 
> WRT Linux, it should be "X11", not "x11":
> 
> - /usr/lib/x11/fonts
> + /usr/lib/X11/fonts
> 
> 
> on Debian all the TT fonts are in /usr/share/fonts [/truetype/]. 

Same on Ubuntu 6.06.1 Dapper.

> /usr/lib/X11/fonts exists as a symlink to /usr/X11R6/lib/X11/fonts/,
> but that only has residual symlinks, encoding info, and cache files.

On Ubuntu Dapper there is no /usr/X11R6/lib/X11/fonts/. Seems that the
same content you describe is present in Ubuntu's /usr/share/X11/fonts.

In /usr/lib/X11/fonts there is a set of symlinks to subdirectories of
/usr/share/X11/fonts (100dpi, 75dpi, encodings, misc, Type1).

> Debian can/will always patch to do things the Debian way, but what's
> popular with other distros these days?

My 0,01 PLN.

Maciek




More information about the grass-dev mailing list