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

Home » Public Forums » archive » Re: Font Tables Gone
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: Font Tables Gone [message #77493] Fri, 02 September 2011 15:51
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Craig Markwardt wrote:
> On Sep 1, 6:31 pm, David Fanning <n...@dfanning.com> wrote:
>> P.S. Let this be a lesson to you. When you upgrade your
>> IDL, keep your old IDL help files somewhere close by.
>> You are going to need them some day!
>
> Or... just never upgrade!

Well, to be somewhat fair, if you do upgrade IDL text objects can now be written in TeX format off the bat.

-----%<-----
Adding Mathematical Symbols and Greek Letters to the Text String

You can add mathematical symbols and Greek letters to the text string using a TeX-like syntax. To turn on math symbols
for a text string (or a portion of a string), you need to surround that region with a pair of "$" characters. The
following tables list the symbols and letters you can embed within a text string:

[followed by a table of TeX definitions and their result]
-----%<-----

thus, $\deg$ gives one the degree symbol (ostensibly in a more "proper way" :o)

cheers,

paulv
Re: Font Tables Gone [message #77501 is a reply to message #77493] Fri, 02 September 2011 10:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian McNoldy writes:

> I was very unhappy to find that the font tables have been eliminated.
> I referenced those a LOT, and I suspect many others did too. That
> would be a logical thing to re-include in a future minor version
> upgrade. Also, good luck finding a decent PostScript font table
> (specifically for the Symbol font) in the help. If you need any
> special characters now, you'd better be a developer.

I'm working on a cgSymbol program this morning that
preserves many of these frequently-used special symbols
for display and PostScript usage. And I got a *terrific*
program from Bernat Puigdomènech that allows you to use
non-printing (e.g., foreign) characters in widget programs.

Both programs will be available soon.

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: Font Tables Gone [message #77502 is a reply to message #77501] Fri, 02 September 2011 09:49 Go to previous message
Brian McNoldy is currently offline  Brian McNoldy
Messages: 35
Registered: July 2000
Member
On Sep 2, 4:12 am, Maarten <maarten.sn...@knmi.nl> wrote:
> On Sep 2, 12:31 am, David Fanning <n...@dfanning.com> wrote:
>
>> Anyway, I happened to be looking for the proper way
>> to define a degree symbol and I noticed that the
>> old font tables are completely gone from the IDL 8
>> documentation. The good news, I guess, is that we
>> don't have to be bothered by all that octal nonsense
>> anymore. But, the bad news is, there is soon going to
>> be a whole generation of IDL programmers who won't
>> know how to cook anything that doesn't come in a box.
>
> That only makes sense if IDL fully supports unicode. I guess that is
> too much to ask. Then there is textoidl, which I find a whole lot
> easier to work with than the font-codes, but maybe that is just me.
>
> Maarten


I was very unhappy to find that the font tables have been eliminated.
I referenced those a LOT, and I suspect many others did too. That
would be a logical thing to re-include in a future minor version
upgrade. Also, good luck finding a decent PostScript font table
(specifically for the Symbol font) in the help. If you need any
special characters now, you'd better be a developer.

Brian
Re: Font Tables Gone [message #77504 is a reply to message #77502] Fri, 02 September 2011 03:12 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Sep 2, 12:31 am, David Fanning <n...@dfanning.com> wrote:

> Anyway, I happened to be looking for the proper way
> to define a degree symbol and I noticed that the
> old font tables are completely gone from the IDL 8
> documentation. The good news, I guess, is that we
> don't have to be bothered by all that octal nonsense
> anymore. But, the bad news is, there is soon going to
> be a whole generation of IDL programmers who won't
> know how to cook anything that doesn't come in a box.

That only makes sense if IDL fully supports unicode. I guess that is
too much to ask. Then there is textoidl, which I find a whole lot
easier to work with than the font-codes, but maybe that is just me.

Maarten
Re: Font Tables Gone [message #77505 is a reply to message #77504] Thu, 01 September 2011 21:44 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Sep 1, 6:31 pm, David Fanning <n...@dfanning.com> wrote:
> P.S. Let this be a lesson to you. When you upgrade your
> IDL, keep your old IDL help files somewhere close by.
> You are going to need them some day!

Or... just never upgrade!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ENVI_CONVERT_FILE_MAP_PROJECTION processing times
Next Topic: Re: How to display NG created in a buffer?

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

Current Time: Wed Oct 08 15:13:00 PDT 2025

Total time taken to generate the page: 0.00502 seconds