fonts

Rutger van der Eijk (r36@nikhef.nl)
Fri, 24 Apr 1998 15:54:55 +0200 (MET DST)


Hi,

I don't seem to be able to find out the appropriate way to use fonts.

For example for a TGLabel i want to set the font to TimesNewRoman of size
24. How should I do that?

probably related questions:
- What is the difference beteen FontH_t, FontStruct_t and Font_t?
- Is there a difference between 'normal root fonts' and 'GUI root fonts'?
- As GUI resources several fonts are settable (NormalFints etc...) with
strings like '-adobe-helvetica-medium-r-*- ... (etc)' Can/Should I also
use this?
- I see that all above typedefs are (long/short) integers, how do i know
which font correspond to which number?
- So in general: how to use fonts in root?

Rutger van der Eijk