comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Anstrom symbol not showing up on PS output

Re: Anstrom symbol not showing up on PS output
type: item
description: Mairan Teodoro writes: > I'm trying to create an Angstrom symbol (using CGSYMBOL) within the PS environment (using PS_START and PS_END). However, the output is not showing the correct Angstrom symbol: the small circle above it is missing. > > When I call PS_END with the /PNG option, I can see in the PNG file that everything's OK with the symbol. This is clearly a PostScript viewer program, not a PostScript file problem. For one thing, the only way for something to show up correctly in the PNG file is for it to exist (correctly!) in the PostScript file, since the PNG file is made from the PostScript file. My guess is that if you turned anti-aliasing off in your PostScript viewer the Angstrom symbol would show up correctly, as if you were using the powers of mental telepathy. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2013-04-24T17:37:37-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Hi David, Thanks for the quick response. Actually, I did that already (I read your post on that)... the only thing I've got by turning the anti-aliasing in my PDF viewer (BTW, I'm using Skim) is ugly fonts. I think I've tried everything... guess I'll have to write the word 'Angstrom' instead of the symbol... m.
creator: mairan.teodoro
date: 2013-04-24T17:55:16-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Mairan Teodoro writes: > Actually, I did that already (I read your post on that)... the only thing I've got by turning the anti-aliasing in my PDF viewer (BTW, I'm using Skim) is ugly fonts. > > I think I've tried everything... guess I'll have to write the word 'Angstrom' instead of the symbol... Did you try printing it on a PostScript printer. I think it will be fine. :-) In any case, the code you gave us shows the Angstrom symbol looking "correct" both in my PostScript and PNG files. Because you mention PDF, I tried that, too. It looks OK, except that the little circle is touching the A in the PDF file. You can still tell what it is, though. Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2013-04-24T18:16:30-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Just an update: Since I needed to include a bar scale in the output plots, I included the following line in my code: oplotscale, -0.5, 1, 0.5, '1175 A.U.',$ color=cgcolor('white'),$ charsize=0.6,$ thick=5, /above This is an external procedure that I just downloaded from here: http://www.cita.utoronto.ca/~tchang/gbt/procs/gen/image/oplo tscale.pro Don't ask me why, but now I can get the Angstrom symbol to be displayed correctly in the output (same PS/PDF viewer). Best regards! m.
creator: mairan.teodoro
date: 2013-04-24T18:17:51-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Mairan Teodoro writes: > Don't ask me why, but now I can get the Angstrom symbol to be displayed correctly in the output (same PS/PDF viewer). I won't ask, then. :-) Cheers, David P.S. Have you thought about a different Postscript viewer? -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2013-04-24T18:25:23-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Mairan Teodoro writes: > Don't ask me why, but now I can get the Angstrom symbol to be displayed correctly in the output (same PS/PDF viewer). Oh, I read this incorrectly. Now the Angstrom symbol shows up! I'm pretty sure mental telepathy is involved. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2013-04-24T18:31:23-00:00

Re: Anstrom symbol not showing up on PS output
type: item
description: Dear all, I'm still having trouble to get the Angstrom symbol to show up properly on the PS/PDF output using Device Fonts (!P.FONT=0). I can achieve that if I set !P.FONT=1 just before the text command (I'm using CGTEXT), but the output will be quite different from what I'm using throughout the paper. If I try to use the lower case Angstrom, everything is just fine, as one can see in this figure: https://dl.dropboxusercontent.com/u/6573328/Angstrom_lowerca se.png However, if I want to use the upper case Angstrom, which is the correct one, I think there is no room for the small circle to show up in the output for some reason that I don't know. See this figure: https://dl.dropboxusercontent.com/u/6573328/Angstrom_upperca se.png Is there any way of setting the size of the text window? Thank you. m.
creator: mairan.teodoro
date: 2013-04-25T17:12:50-00:00