[GRASS5] d.legend updates

Markus Neteler neteler at itc.it
Tue Dec 3 04:01:08 EST 2002


On Tue, Dec 03, 2002 at 04:58:15AM +0000, Glynn Clements wrote:
> 
> H. Bowman wrote:
> 
> > > > the new d.legend now in CVS
> > 
> > > Did you intentionally remove the -o and maxfontsize= options, or did
> > > you base your updated version on old code (i.e. the 5.0.0 release
> > > version instead of the CVS head)?
[...]
> Neither -o nor maxfontsize= feature in any "released" version, so we
> don't really have to worry about backward compatibility.
> 
> Discarding code because it isn't relevant is fine; doing so by
> accident isn't[2].
> 
> [2] Well, not unless we specifically tell would-be developers that we
> reserve the right to discard their code for absolutely no reason, but
> that doesn't make particularly good PR ;)

The good thing is that -o and maxfontsize= were *my* improvements :-)

ChangeLog:
2002-08-14 11:07  markus
 
        * main.c: a try for bugfix, -m is still not perfect without -s or
        -o
 
2002-08-14 10:30  markus
 
        * main.c: added maxfontsize parameter to optionally avoid BIG
        characters in legend (nice with -o flag)
 
2002-08-13 18:35  markus
 
        * main.c: added -o flag: Draw entries only for existing categories

Note that Hamish's -n does what -o did.
As he was improving the font scaling, the maxfontsize= hack should not be
necessary any more.

Markus




More information about the grass-dev mailing list