Small bug for "#tilde" in ROOT version 6.03/03?

Hi,

It seems that the bug which was reported 3 years ago (["#tilde" little bug in ROOT version 5.34.00? is now observed on the opposite side with root version 6.03/03 for #tilde on .png files :

Using the bit of code

{
   TCanvas *c1 = new TCanvas("c1", "c1",15,49,700,530);
   c1->Range(0,0,1,1);
   c1->SetFillColor(0);
   c1->SetBorderSize(2);
   c1->SetFrameBorderMode(0);
   TLatex *   tex1 = new TLatex(0.5,0.5,"#tilde{C}");
   tex1->SetTextSize(0.2);
   tex1->SetTextAngle(90);
   tex1->SetTextColor(2);
   tex1->Draw();
   TLatex *   tex3 = new TLatex(0.5,0.5,"#tilde{C}");
   tex3->SetTextSize(0.2);
   tex3->SetTextAngle(45);
   tex3->SetTextColor(3);
   tex3->Draw();
   TLatex *   tex2 = new TLatex(0.5,0.5,"#tilde{C}");
   tex2->SetTextSize(0.2);
   tex2->Draw();
   c1->Print("tilde.ps");
   c1->Print("tilde.pdf");
   c1->Print("tilde.png");
}

.pdf and .ps files looks OK but for the .png file the tilde is shifted downward.

It looks like a Cocoa issue on Mac. Do you confirm you are using the Cocoa Version on Mac ? … 3 years ago Cocoa version did not exist.

Yes I’m using Mac, so it’s not a but related to this version of ROOT ?

Mac has 2 to graphics backend now. X11 and Cocoa. Cocoa Is now the default. I think you are using that one ? (when root start you should not see the X11 icon on the dock).

I will check. I just wanted you confirm you are with cocoa… but I am sure you are…

Yes exactly, in an old version of ROOT in my Mac X11 was used but now it’s Cocoa.

Yes you can still install the X11 version of course bu the default one is Cocoa. I am now looking at this to fix it. Thanks to have seen it. By the way if you run root in batch the png is correct.

Now fixed. Thanks to have reported it.