[GRASS-dev] Re: [bug #4905] (grass) gis.m: d.text.freetype does not allow spaces in text

Glynn Clements glynn at gclements.plus.com
Wed Aug 30 22:39:53 EDT 2006


Hamish wrote:

> > > > Is there anything (useful) which the latter does but the former
> > > > doesn't? Or can we kill d.text.freetype?
> > > 
> > > Unlike d.text, d.text.freetype is able to locate text more precisely
> > > on the screen (mouse, relative position, geographic coordinates,
> > > alignment) and supports line spacing and different colors in the
> > > same line (no linefeed).
> > 
> > Is there any reason why those features can't be added to d.text?
> 
> while we are on the topic, and assuming we want to continue to use
> interactive d.mom X-monitors for a while, it is a long standing wish of
> mine that d.barscale's mouse placement routine be used for d.text.freetype.

In particular, note that d.barscale adds the non-interactive
equivalent to the command list (D_add_to_list()), so that redraw
works.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list