[rrd-users] Text Alignment in Graph Box?
Reinhard Scheck
Reinhard.Scheck at team-scheck.de
Tue Nov 24 00:08:34 CET 2009
Am 23.11.2009 18:14, Tobias Oetiker wrote:
> Hi Marc,
>
> Today Marc MERLIN wrote:
>
>> On Mon, Nov 23, 2009 at 05:57:04PM +0100, Tobias Oetiker wrote:
>>> Hi Marc,
>>> Today Marc MERLIN wrote:
>>>
>>>> On Mon, Nov 23, 2009 at 05:22:24PM +0100, Tobias Oetiker wrote:
>>>>>> At this point, I don't really need this fixed, but I thought I'd mention it
>>>>>> :)
>>>>>
>>>>> 1.3.1 is realy old ... you should try 1.3.9 or 1.4.2
>>>>
>>>> I upgraded to the latest in debian unstable: 1.3.8, no change.
>>>>
>>>> I'll have to recompile from source later. I'll give that a shot when I
>>>> have a chance.
>>>
>>> 1.3.8 should be ok ...
>>>
>>> note that the whole alignement stuff only works if you terminate
>>> your lines or set the default line orientation otherwhise lines
>>> will be justified left/right which causes the bits on the line to
>>> move ...
>>
>> My lines are terminated with \n
>> Can you look at the definition
>> http://gargamel.merlins.org/cacti/graph.php?action=properties&local_graph_id=14&rra_id=6&view_type=&graph_start=1258976884&graph_end=1258991224
>> to see if I'm missing something else?
>
> \n is not realy a valid choice (it is only accepted for backward
> bug compatibility) but anyway, since you are NOT using a monospace
> font you have to use \t for alignment ... which you don't seem to
> be doing.
As this is a cacti graph, we should mention that at this point cacti does
"tabular adjustment" based on monospaced fonts only by "tabbing" with blanks.
I did not yet fiddle around with rrdtool tab chars.
But if anyone is able to "translate" the rrdtool graph command that it works
using non-monospaced fonts and tabbing chars, I happily will implement this in
cacti.
This is the time to do it for cacti 088!
Reinhard
More information about the rrd-users
mailing list