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

Home » Public Forums » archive » Re: PS and Hershey 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: PS and Hershey fonts [message #19245] Wed, 01 March 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ka Chun Yu (kachun@bogart.Colorado.EDU) writes:

> I was wondering if there was a way to use PostScript and Hershey
> fonts together. I've been using PS fonts excusively, but there are
> some symbols in the vector drawn fonts that are not available in
> the PS Symbol font. It seems that once you've set !p.font, you're
> stuck with that; is there any way to switch !p.font in the middle
> of a string definition, say something like:
>
> !p.font=0 ; set to PS fonts
> plot,...,title='PS font!9 Math Hershey Font!6PS font again'
>
> (I suspect that this might not be possible; I just want to make sure.)

Well, this is not possible the way you want to do it.
It *might* be possible, with a bit of care, to
hack something together with XYOutS. Here is an
example:

XYOutS, 0.25, 0.5, 'Flower ', Width=theWidth, /Normal, Font=0
start = 0.25 + theWidth
XYOutS, start, 0.5, '!9v!X', /Normal, Width=theWidth, Size=2
start = start + theWidth + 0.005
XYOutS, start, 0.5, 'Power ', /Normal, Font=0

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 3D thin-plate spline algorithm?
Next Topic: Re: Live - Web - Cam == Sage es Ihr = Sie tut es == 9317 [1/2]

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

Current Time: Wed Oct 08 19:05:01 PDT 2025

Total time taken to generate the page: 0.00441 seconds