greek font

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Tue May 26 1998 - 17:58:49 MEST


Dear all,
I want to put an `eta' at the horizaontal axis of a histogram. After some
puzzling I find out that
   text = new TText(-1,0.939721,"h");
   text->SetTextFont(122);
   text->Draw();
creates exactly the title I want in the root canvas. The chosen text-font
is `greek-medium-r-normal' and for whatever reason `h' is the roman
translation of the `eta'.
However, after saving the canvas as a ps file I find out that ps uses
another convention for translating the roman characters to their greek
variants: instead of an `eta' , my axis is titled with a `chi', also very
greek, but not exactly what I had in mind.
Of course I can find the ps eta by creating a TText with the whole roman
alphabet, as I would try if there was no roottalk. There must be a better
solution, I hope. Could anyone take care that the greek fonts for root and
for postscript agree ? Or am I doing something wrong ?
Regards, many thanks
Wouter



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET