comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TrueType fonts question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
TrueType fonts question [message #74168] Tue, 04 January 2011 14:39
natha is currently offline  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
[Message index]
 
Read Message
Previous Topic: More efficient method of appending to arrays when using pointers?
Next Topic: Re: TrueType fonts question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:38:18 PDT 2025

Total time taken to generate the page: 0.00392 seconds