"#tilde" little bug in ROOT version 5.34.00?

Hi,

It seems that there is a little bug in ROOT version 5.34.00 (comparing to 5.32), when you want to use “#tilde” in any name. The result is that in the corresponding .png the tilde is shifted upward.
Try for instance in the following code :

{
  TNtuple* nt = new TNtuple("nt","","a:b:c");
  TCanvas *Can = new TCanvas("Can","Can",200,10,600,400);
 
  Double_t x[16] =  {1.00, 2.00, 6.00, 7.00, 3.00, 10.00, 0.20, 5.55,
           20.50, 9.75, 1.50, 8.00, 5.00, 0.95, 3.85, 8.70};
  Double_t y[16] = {1.00, 2.00, 6.00, 7.00, 3.00, 10.00, 0.20, 5.55,
          20.50, 9.75, 1.50, 8.00, 5.00, 0.95, 3.85, 8.70};
  Double_t z[16] = {0.001, 2.50, 600.00, 0.00001, 30.00, 10.001, 300000.0, 500000.55,
          20.50, 9.75, 280000.50, 8.00, 5.00, 0.95, 3.85, 8.70};
 
  Double_t x3, y3, z3;
 
  for(Int_t h1 =0;h1<16;++h1)
    {
      x3 = x[h1];
      y3 = y[h1];
      z3 = z[h1]; nt->Fill(x3,y3,z3);
    }
  Can->SetTickx(1);
  gStyle->SetOptStat(0);
  gStyle->SetPalette(1,0);
  nt->SetMarkerStyle(20);
  nt->SetMarkerSize(1);
 
#if 0 /* 0 or 1 */
  Double_t xmin = 0.01, xmax = 50, ymin = 0.01, ymax = 50;
#else /* 0 or 1 */
  nt->SetEstimate(nt->GetEntries() + 1);
  Double_t xmin = nt->GetMinimum("a"); // "a" is X in the nt->Draw below
  Double_t xmax = nt->GetMaximum("a");
  Double_t ymin = nt->GetMinimum("b"); // "b" is Y in the nt->Draw below
  Double_t ymax = nt->GetMaximum("b");
#endif /* 0 or 1 */
 
  // http://root.cern.ch/root/html/TTree.html#TTree:Draw@2
#if 0 /* 0 or 1 */
  TH2F *h = new TH2F("h", "h", 100, xmin, xmax, 100, ymin, ymax);
  nt->Draw("b:a:c>>h", "", "colz"); // warning: TTree::Draw destroys "h"
  // gPad->Modified(); gPad->Update();
  h->GetXaxis()->SetLimits(xmin, xmax); // restore proper "h" X axis limits
  h->GetYaxis()->SetLimits(ymin, ymax); // restore proper "h" Y axis limits
#else /* 0 or 1 */
  nt->Draw("b:a:c", "", "colz"); // note: TTree::Draw creates a "htemp"
  // gPad->Modified(); gPad->Update();
  // TH2F *htemp = ((TH2F *)(gPad->GetPrimitive("htemp")));
  htemp->GetXaxis()->SetLimits(xmin, xmax); // set proper "htemp" X axis limits
  htemp->GetYaxis()->SetLimits(ymin, ymax); // set proper "htemp" Y axis limits
#endif /* 0 or 1 */
 
  gPad->SetLogx(1);
  gPad->SetLogy(1);
  // gPad->Modified(); gPad->Update();
TLatex *t1 = new TLatex(10.,1.,"#tilde{test}");
t1->SetTextSize(0.05);t1->Draw();
}

Yes I see it is a bit high.
I can see it also with:

{
   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");
}

note PDF and PS are correct.
I will check.

This problem is now fixed in the SVN trunk. Thanks for reporting.