[GRASS-dev] Tcl font settings issue

Michael Barton michael.barton at asu.edu
Wed Sep 20 14:26:27 EDT 2006


We should be able to set most of this from the options database
(options.tcl). Currently, as your list shows, the gism fonts are set from
there. We should be able to set the rest too. There is an options database
for nviz that I've started to work with a bit. This should fix that part.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Markus Neteler <neteler at itc.it>
> Date: Wed, 20 Sep 2006 13:28:37 +0200
> To: GRASS developers list <grass-dev at grass.itc.it>
> Cc: Mystus vittatus <mystusvittatus at yahoo.co.uk>
> Subject: [GRASS-dev] Tcl font settings issue
> 
> [from translations list]
> 
> Hi,
> 
> there are problems with the Helvetica Tcl font for Vietnamese,
> maybe also other languages.
> Helvetica is hardcoded in a couple of places:
> 
> find . -type f -follow -name "*.tcl" -exec grep -l Helvetica {} \;
> ./epsg_start/gis_set.tcl
> ./lib/gtcltk/options.tcl
> ./lib/init/help.tcl
> ./lib/init/gis_set.tcl
> ./visualization/nviz/html/help.tcl
> ./visualization/nviz/scripts/panel_scale.tcl
> ./visualization/nviz/scripts/panel_label.tcl
> ./gui/tcltk/gis.m/tksys.tcl
> ./gui/tcltk/d.m/tksys.tcl
> 
> I wonder if we could change that to a single global
> setting in a extra file so that user do not have to browse
> the entire source code to change the Tcl font.
> But my Tcl skills aren't sufficient to implement that...
> 
> Markus
> 
> On Wed, Sep 20, 2006 at 12:19:44PM +0100, Mystus vittatus wrote:
>>    Hi
>> 
>>    If you want to display Vietnamese properly, then please change the Default
>>    font in options.tcl from Helvetica to Verdana or Arial. Otherwise many
>>    words is displayed wrongly.
>> 
>>    Cheers
>>    Bui Huu manh
>> 
>>    Markus Neteler <neteler at itc.it> wrote:
>> 
>>      On Wed, Sep 20, 2006 at 10:08:07AM +0200, Markus Neteler wrote:
>>> Hi Bui Huu Manh
>>> 
>>> On Wed, Sep 20, 2006 at 06:59:42AM +0100, Mystus vittatus wrote:
>>>> Hi Markus
>>>> Attached to this mail is the translation of 3 po files of GRASS
>>      6.2.0beta2
>>>> into Vietnamese. It's a quite completed translation, only very few
>>>> messages left or the ones which don't need translation like Raster,
>>>> Vector.... The translation is done in gedit, and I have compiled
>>      GRASS
>>>> with nls option to check. Generally it's ok (you can see some issues
>>>> below).
>>> 
>>> thanks a lot - I have uploaded the files to 6.2.0-release branch and
>>> 6.3-CVS.
>> 
>>      I just made a quick test:
>> 
>>      export LANG=vi_VI
>>      export LANGUAGE=vi_VI
>>      export LC_ALL=vi_VI
>> 
>>      grass63
>> 
>>      Really great (it will work in 6.2 as well) - congrats!
>> 
>>      Markus
> 
> 




More information about the grass-dev mailing list