|
Re: How to use customized Hershey fonts? [message #56727 is a reply to message #56722] |
Fri, 09 November 2007 06:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rainer writes:
> I'd like to draw a special symbol which is not available in IDL's font
> set. After poking around for some time in the help assistant, I
> learned that there's a routine called EFONT in which I can easily
> create the character of my desire. Unfortunately, I cannot figure out
> how to use it then. :-(
>
> Since, being non-root, I don't have write access to IDL's main
> directory, I cannot change the hersh1.chr file there. Saving the
> character or a whole font set to my local directory works, but I don't
> know how to make use of that e.g. with XYOUTS. I thought of making a
> local copy of hersh1.chr but could not figure out a way to get IDL to
> use that one.
>
> So... is EFONT useless or am I missing something?
I've run into a similar problem trying to make ColorBrewer
color tables available to other IDL programmers. It would
be nice if IDL could have a local "resources" directory
where it looked first for these kinds of resources, before
it looked in the resources directory associated with the
IDL distribution. That way it would be easy to point to
user-defined color table files, special bitmaps, map
files, etc.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|