[GRASS-dev] font path question for Linux and Windows

Glynn Clements glynn at gclements.plus.com
Sun Apr 29 18:09:15 EDT 2007

Michael Barton wrote:

> Normally, Mac OS X fonts live in /Library/Fonts. Is there a Œnormal¹ place
> for fonts under Linux and Windows?

On Linux, they're usually in subdirectories of /usr/lib/X11/fonts
and/or /usr/share/fonts, but there are no guarantees (/usr/lib/X11 is
often a symlink to /usr/X11R6/lib/X11). It's possible that some
systems might use /etc/X11/fonts (much of what historically lived in
/usr/lib/X11 has migrated to /etc/X11 in recent years).

On Windows, they're typically in %WINDIR%\Fonts, where %WINDIR% is
typically (but not always) C:\WINDOWS. Actually, I'm not sure whether
%WINDIR% or %SYSTEMROOT% are the "right" choice; both refer to
C:\WINDOWS on my system.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list