Michael Barton
2007-11-14 22:56:50 UTC
How about a GRASS_FONTPATH variable set in init.sh (or an environmental
variable if that?s better). It could work like some of the other such path
variables.
Check to see if it?s already set (e.g., in .grassrc6 or .profile). If it?s
not already set, try some default settings: /Library/Fonts for Darwin
systems, a ?normal? linux font place, a ?normal? windows font place.
A font setting dialog could get this path from the variable and insert it
into a font path browse control. For many people, they would not need to do
anything but pick from the list of fonts in that directory. But the control
would still allow a user to browse for another locality if their fonts were
in a different place. This gives some degree of convenience for the many
people who have fonts in a standard location for their platform and provides
2 ways to deal with those who don?t?in a configuration file (for GRASS or
shell) or by browsing to the font location.
Trying to find a way to make this a bit easier for many, while dealing with
the considerable variability across systems.
Michael
__________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-gui/attachments/20070423/c3b934a6/attachment.html
variable if that?s better). It could work like some of the other such path
variables.
Check to see if it?s already set (e.g., in .grassrc6 or .profile). If it?s
not already set, try some default settings: /Library/Fonts for Darwin
systems, a ?normal? linux font place, a ?normal? windows font place.
A font setting dialog could get this path from the variable and insert it
into a font path browse control. For many people, they would not need to do
anything but pick from the list of fonts in that directory. But the control
would still allow a user to browse for another locality if their fonts were
in a different place. This gives some degree of convenience for the many
people who have fonts in a standard location for their platform and provides
2 ways to deal with those who don?t?in a configuration file (for GRASS or
shell) or by browsing to the font location.
Trying to find a way to make this a bit easier for many, while dealing with
the considerable variability across systems.
Michael
__________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-gui/attachments/20070423/c3b934a6/attachment.html