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

Home » Public Forums » archive » Re: Object Graphics Fonts
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Object Graphics Fonts [message #39232] Tue, 04 May 2004 06:45
jamiesmyth_uni is currently offline  jamiesmyth_uni
Messages: 6
Registered: May 2004
Junior Member
> If you are using object graphics, then I'm as confused
> as you are. :-(
>
> Presumably, object graphics can use True-Type fonts.
> I think these are probably equivalent to PostScript
> fonts if you use a little bit of handwaving with your
> editor. :-)

After much fiddling:

In $IDL_DIR/resource/fonts/tt there is a file named ttfont.map that
can be edited (provided you have root permissions). This seems to
work fine for object graphics but I haven't bothered trying it with
direct graphics. As best as I can figure, IDL is using postscript
fonts ($IDL_DIR/resource/fonts/ps) for direct graphics but I'm not
certain for fonts like Helvetica which can be found in both the tt and
ps directories. It may depend on which device driver you are using...

Everything seems quite straightforward for object graphics... now all
I have to do is locate some true-type fonts.

Thanks,
Jamie
Re: Object Graphics Fonts [message #39238 is a reply to message #39232] Mon, 03 May 2004 15:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jamie Smyth writes:

> Does anyone know if it is possible to use postscript fonts in
> direct/object graphics? I have been asked by an editor to change the
> text of my figures to match the book text and I am at a bit of a
> loss...

Well, if you are using direct graphics, this article might
help:

http://www.dfanning.com/tips/ps_psfonts.html

If you are using object graphics, then I'm as confused
as you are. :-(

Presumably, object graphics can use True-Type fonts.
I think these are probably equivalent to PostScript
fonts if you use a little bit of handwaving with your
editor. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ROI to shapefile for flood plain modelling
Next Topic: Slicing a surface plot in object graphics

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

Current Time: Wed Oct 08 17:42:51 PDT 2025

Total time taken to generate the page: 0.00471 seconds