Roger, the problem is that until 1.2.15 rrdtool did not complain when you used a non-existing control code ... non existing control codes were interpreted as \l ...
so instead of using \l as you should have (this is in the documentation) you used an arbitrary letter so in the same way as you want \J to become \l any other user could wish for his favorite letter to become \l too, leaving us with about 40 aliases for \l and nothing to spare ... this is not realy a good way forware in my eyes ... fix your application, or apply your patch to your local copy of rrdtool ... sorry tobi Today Roger J. Meier wrote: > Hi everybody, > > We have been using a control code "\J" for rrd_graph formatting > of the legend in RRD tool until version 1.2.15. This worked > similar as "\j" (= justify), but it does not spread to the full > width of the legend. > > I don't who or how we have found this "\J", since it was not > documented, but it worked well for our use case! > > Now the problem is that the most recent version of RRD tool > (1.2.23) prints out a message if an unknown control code is > found -- so our "\J" does no longer work. > > May I suggest the following patch (see attachment): Extend the > list of control codes with "\J", i. e. change the error handling > to allow this control code. > > The super simple patch is in the attachment. > > Of course it's bad style to use undocumented features, but this > one was really useful! > > Regards, > > -- Roger > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902 _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
