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

Home » Public Forums » archive » Sun Symbol in Postscript
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sun Symbol [message #41400 is a reply to message #8675] Mon, 25 October 2004 09:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Panter writes:

> I always use M!l!9n!x!n which seems to work pretty well [in postscript
> output of course... and onscreen it looks ok to me with simplex fonts]

Maybe I have my fonts totally screwed up now, but
when I look at the PostScript output with Ghostview,
it looks less like a circle with a dot, and more like
someone hit you in the arm as you were starting to write
your name. :-(

Looks OK in vector fonts, and this is what sunsymbol.pro
from the Astro library does too.

> M_\odot - not sure if this works with textoidl though

No, it doesn't. One of our problems. :-(

Let me ask another question. Has anyone got PostScript
to accept a unicode glyph, such as !Z(164)? I have ISOLATIN1
turned on. I am trying to switch to a Wingding true-type font
that has this symbol. The Unicode on the Wingding character map
is 0xA4, which I read as 164. Is this correct? Here is the code
I'm tying to use. I get this message when I use it:

% PLOT: Invalid graphtext command: ...!Z('00a4'xL)!X

Same thing happens when I try !Z(164).

Code:

Set_Plot, 'PS'
device, _Extra=psconfig(/nogui)
device, filename='sunsymbol.ps', /isolatin1
device, set_font='wingdings', /tt_font, font_index = 8
device, set_font='helvetica', /tt_font
Plot, findgen(11), xTitle="This is Sun Symbol M!8!Z(00a4'xL)!X", $
Title='This is the x title', YTitle='This is the Y title', font=0
Device, /Close

All ideas welcome. I don't even think my font_index
code is switching to wingdings, because if I print
text I get helvetica looking character, not wingdings.

I'm confused...

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Installing PostScript Fonts in IDL
Next Topic: 2D scatter-density plotting

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

Current Time: Fri Nov 28 07:14:29 PST 2025

Total time taken to generate the page: 0.00912 seconds