TrueType fonts question [message #74168] |
Tue, 04 January 2011 14:39 |
natha
Messages: 482 Registered: October 2007
|
Senior Member |
|
|
Hi folks,
I was reading the following lines from the IDL help:
IDL provides five TrueType outline fonts for use in font objects:
Courier, Helvetica, Monospace Symbol, Symbol, and Times. Your system
may support additional TrueType fonts —use them in the same way as
those supplied by IDL.
So I started trying :
font=obj_new('idlgrfont','Tahoma')
text=obj_new('idlgrtext','test',font=font)
xobjview, text
But the final object text is always using Helvetica.
I also tried, Lucida, Utopia, Palladio, etc. It seems that my computer
has these fonts because I listed them:
DEVICE, GET_FONTNAMES=fnames, SET_FONT='*'
Mmmh ! What am I missing ?
Is it possible to create font objects with other TrueType fonts ? I
know I can use hershey fonts as 'Hershey*Greek'*12, etc.. but TrueType
fonts ?
For example, if I'm listing -adobe-utopia-bold-i-normal--0-0-0-0-p-0-
iso8859-1 how can I use it ?
Thanks in advance,
nata
|
|
|