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

Home » Public Forums » archive » Accessing to Hershey Vector Font Samples
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
Accessing to Hershey Vector Font Samples [message #68158] Wed, 30 September 2009 11:19
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi folks,

This week I posted a question about Hershey fonts and David gave me
the answer. Now, I realize that I've another problem related with the
same question.
I'm trying to write a string using the character 14x16 of the Simple
Greek font.

The David's answer was: XYOUTS, 0.5, 0.5, /Normal, 'Symbol: !4' +
STRING("156B) + '!x'
Cool ! It works. Now we can try it using object graphics:

aux=OBJ_NEW('IDLgrText', STRINGS='Symbol: !4' + STRING("156B) + '!x', /
ENABLE_FORMATTING)
XOBJVIEW, aux
Ups, It doesn't works...

Suggestions?
Thanks,
nata
Re: Accessing to Hershey Vector Font Samples [message #68197 is a reply to message #68158] Mon, 28 September 2009 06:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> (Add the number in the column row to 10 times the row number,
> according to the documentation. Sigh...)

Yeah, I didn't understand that either. I'd fix it, but
I have to get back to work. My tennis team finished the
season 18-1, but alas, that defeat kept us from going
to the National tournament! So, back to more mundane
things. :-)

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: Accessing to Hershey Vector Font Samples [message #68198 is a reply to message #68158] Mon, 28 September 2009 06:52 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
(Add the number in the column row to 10 times the row number,
according to the documentation. Sigh...)

Ok, I see..
Note: The following font charts are numbered in octal notation. To
read the octal number of a character, add the column index (along the
top) to ten times the row index. For example, the capital letter "A"
is octal 101, and the "$" symbol is octal 44.

Thank you David,

nata
Re: Accessing to Hershey Vector Font Samples [message #68199 is a reply to message #68158] Mon, 28 September 2009 06:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> I've a question related to Hershey Fonts. I'm trying to write a string
> using the character 14x16 of the Simple Greek font and I can't do it.
> Actually, I never understood how to access to all of this characters.
> Normally, I use the command to change the font !3, !4, !5, etc. and
> then I try some characters in order to obtain what I want.
>
> So now, I can't find this character and I don't know how to write it.
> Can anybody help me ?

XYOUTS, 0.5, 0.5, /Normal, 'Symbol: !4' + STRING("156B) + '!x'

Details are here:

http://www.dfanning.com/misc_tips/angstrom.html

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Shift label positions in contour plots?
Next Topic: Re: Accessing to Hershey Vector Font Samples

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

Current Time: Wed Oct 08 20:02:19 PDT 2025

Total time taken to generate the page: 0.43299 seconds