Superscript spacing on TGraph using root 5.34/18

Hi,

I noticed something strange with root 5.34/18, when I set a superscript in the title of the y-axis of a TGraph there is a large spacing between the superscript and the preceding letter. However, if I put a null superscript earlier in the title the large spacing goes away. I attached a plot showing this as well as the simple script used to make the example.

Any idea why this happens?
Andy



superscriptTest.py (750 Bytes)

Which ROOT version are you using ?
Is it Cocoa version on Mac ?

Olivier,

It is the same problem that I habe been reporting to you many times

Rene

Seems to me this is the same problem as the one described at the end of:

Look at the plot Moritz showed, comparing Cocoa and X11.
It is exactly the same problem (seems to me) as the one mentioned here.

The problem Moritz described was a Cocoa problem which has been fixed by Timur some times ago.
(see the plots I posted)

That’s why I was asking if Andy is using Cocoa … Let’s see his reply …

I think it is now fixed. (5.34 and trunk)