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 
Return to the default flat view Create a new topic Submit Reply
Re: Displaying degree symbol with Postscript fonts [message #61556 is a reply to message #61475] Fri, 18 July 2008 13:36 Go to previous messageGo 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: QHULL/VORONOI question
Next Topic: Displaying degree symbol with Postscript fonts

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

Current Time: Fri Oct 10 21:58:38 PDT 2025

Total time taken to generate the page: 0.15875 seconds