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

Home » Public Forums » archive » Re: Displaying degree symbol with Postscript 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: Displaying degree symbol with Postscript fonts [message #61471] Fri, 18 July 2008 10:11 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> That prints a superscript lowercase letter O, correct? My eagle-eye is offended
> by its non-circularity. ;-)

Must be a Mac thing. ;-)

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.")
Re: Displaying degree symbol with Postscript fonts [message #61472 is a reply to message #61471] Fri, 18 July 2008 08:12 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <g5q7sp$s2d$1@news.nems.noaa.gov>,
Paul van Delst <Paul.vanDelst@noaa.gov> wrote:

> Kenneth P. Bowman wrote:
>> This is one of those things that everyone but me probably already
>> knows.
>>
>> To display the degree symbol in most Postscript fonts
>> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
>> DEVICE command. This is not the most obscure feature that I
>> have ever seen in IDL (perhaps we should start a top 10 list),
>> but it is right up there.
>
> What's wrong with !Uo!N ?
>
> If you can see a meaningful difference, then your printer has more dpi than it should! :o)
>
> cheers,
>
> paulv

That prints a superscript lowercase letter O, correct? My eagle-eye is offended
by its non-circularity. ;-)

Ken
Re: Displaying degree symbol with Postscript fonts [message #61475 is a reply to message #61472] Fri, 18 July 2008 09:52 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> This is one of those things that everyone but me probably already
> knows.
>
> To display the degree symbol in most Postscript fonts
> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
> DEVICE command. This is not the most obscure feature that I
> have ever seen in IDL (perhaps we should start a top 10 list),
> but it is right up there.

This is a good point, since Isolatin encoding is turned on
by default with HERSHEY fonts, but turned off by default with
hardware fonts of the sort you typically use in PostScript.
Thus, it makes it a bit harder to write device-independent
programs, because this is something you have to keep in mind.

To this end, I've made a change in my PSConfig suite of programs
to set the ISOLATIN1 keyword to 1 by default, rather than to
the normal 0. (The ISOLATIN1 keyword is accessed in PSCONFIG
normally, by setting the FONTINFO keyword when you call the
program. Most people, of course, have never used the FONTINFO
keyword (including me).) So, setting the keyword by default will
make this functionality mindlessly available to me and everyone
else. :-)

You can download the PSCONFIG set of programs here:

http://www.dfanning.com/programs/psconfig.zip

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.")
Re: Displaying degree symbol with Postscript fonts [message #61484 is a reply to message #61472] Fri, 18 July 2008 07:04 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Kenneth P. Bowman wrote:
> This is one of those things that everyone but me probably already
> knows.
>
> To display the degree symbol in most Postscript fonts
> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
> DEVICE command. This is not the most obscure feature that I
> have ever seen in IDL (perhaps we should start a top 10 list),
> but it is right up there.

What's wrong with !Uo!N ?

If you can see a meaningful difference, then your printer has more dpi than it should! :o)

cheers,

paulv
Re: Displaying degree symbol with Postscript fonts [message #61492 is a reply to message #61484] Fri, 18 July 2008 01:04 Go to previous messageGo to next message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On Thu, 17 Jul 2008 21:57:59 -0700 (PDT), biophys <biophys@gmail.com>
wrote:

> Check out my font helper at http://tinyurl.com/fontart and things like
> this should be easier hopefully. :)

Nice!
Re: Displaying degree symbol with Postscript fonts [message #61493 is a reply to message #61492] Thu, 17 July 2008 21:57 Go to previous messageGo to next message
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Check out my font helper at http://tinyurl.com/fontart and things like
this should be easier hopefully. :)

Cheers,
-
bp

On Jul 17, 11:33 am, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> This is one of those things that everyone but me probably already
> knows.  
>
> To display the degree symbol in most Postscript fonts
> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
> DEVICE command.  This is not the most obscure feature that I
> have ever seen in IDL (perhaps we should start a top 10 list),
> but it is right up there.
>
> Ken Bowman
Re: Displaying degree symbol with Postscript fonts [message #61555 is a reply to message #61471] Fri, 18 July 2008 13:35 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.22ea7c94f102c48998a40a@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:

> Kenneth P. Bowman writes:
>
>> That prints a superscript lowercase letter O, correct? My eagle-eye is offended
>> by its non-circularity. ;-)
>
> Must be a Mac thing. ;-)
>
> Cheers,
>
> David

Just the relentless pursuit of perfection. ;-)

Ken
Re: Displaying degree symbol with Postscript fonts [message #61556 is a reply to message #61475] Fri, 18 July 2008 13:36 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.22ea784099ceccda98a408@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:

> Kenneth P. Bowman writes:
>
>> This is one of those things that everyone but me probably already
>> knows.
>>
>> To display the degree symbol in most Postscript fonts
>> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
>> DEVICE command. This is not the most obscure feature that I
>> have ever seen in IDL (perhaps we should start a top 10 list),
>> but it is right up there.
>
> This is a good point, since Isolatin encoding is turned on
> by default with HERSHEY fonts, but turned off by default with
> hardware fonts of the sort you typically use in PostScript.
> Thus, it makes it a bit harder to write device-independent
> programs, because this is something you have to keep in mind.
>
> To this end, I've made a change in my PSConfig suite of programs
> to set the ISOLATIN1 keyword to 1 by default, rather than to
> the normal 0. (The ISOLATIN1 keyword is accessed in PSCONFIG
> normally, by setting the FONTINFO keyword when you call the
> program. Most people, of course, have never used the FONTINFO
> keyword (including me).) So, setting the keyword by default will
> make this functionality mindlessly available to me and everyone
> else. :-)
>
> You can download the PSCONFIG set of programs here:
>
> http://www.dfanning.com/programs/psconfig.zip
>
> Cheers,
>
> David

Ha, told ya so.

I made the same change to my PS_ON program (which is a
heavily modified version of Liam's similar program).

Ken
Re: Displaying degree symbol with Postscript fonts [message #61565 is a reply to message #61472] Fri, 18 July 2008 11:18 Go to previous message
bjelley is currently offline  bjelley
Messages: 11
Registered: November 2006
Junior Member
On Jul 18, 10:12 am, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article <g5q7sp$s2...@news.nems.noaa.gov>,
>  Paul van Delst <Paul.vanDe...@noaa.gov> wrote:
>
>
>
>
>
>> Kenneth P. Bowman wrote:
>>> This is one of those things that everyone but me probably already
>>> knows.  
>
>>> To display the degree symbol in most Postscript fonts
>>> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
>>> DEVICE command.  This is not the most obscure feature that I
>>> have ever seen in IDL (perhaps we should start a top 10 list),
>>> but it is right up there.
>
>> What's wrong with !Uo!N ?
>
>> If you can see a meaningful difference, then your printer has more dpi than it should! :o)
>
>> cheers,
>
>> paulv
>
> That prints a superscript lowercase letter O, correct?  My eagle-eye is offended
> by its non-circularity.  ;-)
>
> Ken- Hide quoted text -
>
> - Show quoted text -

What is wrong with Matthew Craig's TeXtoIDL version (/circ keyword)?
It is rather aged (1996?), but still works fine for greek letters,
inifinity character, and such.

Gumley still probably has it posted on his book companion site.

Cheers,
-Ben
Re: Displaying degree symbol with Postscript fonts [message #61570 is a reply to message #61472] Fri, 18 July 2008 10:19 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Kenneth P. Bowman wrote:
> In article <g5q7sp$s2d$1@news.nems.noaa.gov>,
> Paul van Delst <Paul.vanDelst@noaa.gov> wrote:
>
>> Kenneth P. Bowman wrote:
>>> This is one of those things that everyone but me probably already
>>> knows.
>>>
>>> To display the degree symbol in most Postscript fonts
>>> (glyph B0 in hex), you have to set the /ISOLATIN1 keyword via the
>>> DEVICE command. This is not the most obscure feature that I
>>> have ever seen in IDL (perhaps we should start a top 10 list),
>>> but it is right up there.
>> What's wrong with !Uo!N ?
>>
>> If you can see a meaningful difference, then your printer has more dpi than it should! :o)
>>
>> cheers,
>>
>> paulv
>
> That prints a superscript lowercase letter O, correct? My eagle-eye is offended
> by its non-circularity. ;-)

I figured it might. (I use latex to insert labels as required for publications)

viva le \circ! :o)

cheers,

paulv
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: QHULL/VORONOI question
Next Topic: Displaying degree symbol with Postscript fonts

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

Current Time: Wed Oct 08 16:00:57 PDT 2025

Total time taken to generate the page: 0.01015 seconds