I have a TH2D histogram with an axis label containing “#Delta” in a TCanvas. Running CINT, this is being displayed correctly. However, when I use TCanvas::SaveAs to create a PDF, something goes wrong with the font and #Delta turns to Ø. This does not happen when formulas are being typeset with PDFLaTeX on the same machine, which leads me to believe it’s a problem with ROOT. Can anybody help?
Edit: The #circ symbol turns into a Greek Upsilon, turn.
Which ROOT version are you using ? on which machine ?
I do not see this problem. For me both #Delta and #circ are correct in a PDF file.
Can you provide a 3 lines example using TLatex and showing this issue ?
Can you post a working pdf not produced by ROOT and a not working one produced by ROOT ?
Which previewer are you using ?
Can you post a macro producing a wrong PDF ?
Late to the party, but I can reproduce this with ROOT v6.22/06 (and evince 3.38.2 for what it’s worth). My workaround is to save as eps then call epstopdf.
As I said earlier it is more a problem of “viewer”. When pdf is concerned the reference viewer is Adobe Acrobat. I opened this file with Acrobat and I get a correct output (the same I get with Mac Preview).