[rrd-developers] legend spacing problem - redux

Tobias Oetiker tobi at oetiker.ch
Wed May 23 18:15:39 CEST 2007


Hi Sam,

since rrdtool typesets on a line by line basis, such an attribute
would have to be set at the start of a line ...

the could be an ALIGN: command

ALIGN:left
ALIGN:right
ALIGN:center
ALIGN:justified

whenever this is called, the 'glue behaviour would change ...

cheers
tobi

> > what makes you say the glue  is not applied correctly? what
> > happens is that the lines in the legend get justified when they are
> > broken across. The last line does not get justified since it is not
> > being broken across ...
> >
> > what people normally do, is to end their lines with \l and they get
> > left-aligned.
>
> Just to throw this out there: in word processing and typesetting,
> alignment is a property of a paragraph, not a single line.  The
> behavior Tobi describes (all but the final line justified) is correct
> for a justified paragraph.  It would make a lot of sense if left-align
> could be set for the entire "paragraph" instead of each line
> separately.
>
> -Sam
>
> _______________________________________________
> rrd-developers mailing list
> rrd-developers at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-developers mailing list