[GRASS-dev] using system fonts?
Michael Barton
michael.barton at asu.edu
Tue Apr 24 02:14:10 EDT 2007
This is what I was thinking of with a GRASS_FONTPATH variable. It could
either set these as reasonable defaults or read what is specifically set in
a configuration file (e.g., .grassrc6 or .profile).
Michael
On 4/23/07 10:57 PM, "Hamish" <hamish_nospam at yahoo.com> wrote:
> Glynn Clements wrote:
>>
>> Nope; that information simply isn't available.
>>
>> The way that fonts work in a GUI is that the GUI (usually) provides
>> some way to obtain a list of names, and (invariably) provides some way
>> to select a font using a name.
>
>
> perhaps add a script to the GUI Config menu to search the system for
> .ttf fonts and dump to a .grass fontcap file?
>
> eg for {`uname -s` = "Darwin"} look in wherever Mac dumps fonts, for
> Windows use a .bat file that looks in C:\Windows\fonts\*.ttf (or
> wherever), and for Linux /usr/X11R6/lib/X11/fonts/* or other common
> dumping grounds.
>
> if any files are on that list you get an easy picker, if not you can
> always select the <file broswer>.
>
>
> ??,
> Hamish
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list