[GRASS5] Re: [GRASSLIST:8259] Making road maps

Hamish hamish_nospam at yahoo.com
Sun Sep 18 23:41:27 EDT 2005


> > 2. Is it possible to rotate the names/labels for my north/south
> > streets  90 degrees from the east/west streets?
> 
> d.paint.labels now in 6.1-cvs respects rotation settings calculated by
> v.label.
> 
> It works well enough, although it could still use some fine tuning and
> using a label curled along a bent vector line (v.label -c) exposes a
> bug in the d.text.freetype code. (first guess: radians vs. degrees?)


Freetype bug:

Yup, that was it; fixed in CVS. Freetype/TrueType fonts should now
rotate correctly. (note: I haven't rebuilt so untested; unused AFAICT 
in 6.0.x so didn't backport the fix)


Also just added a rotation option to d.text. That module is still
missing mouse placement code (copy from d.barscale) as line-by-line
input parsing makes that hard to do.



Hamish




More information about the grass-dev mailing list