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

Home » Public Forums » archive » Re: 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
Re: Accessing to Hershey Vector Font Samples [message #68156] Wed, 30 September 2009 11:45
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Ok I see....
Finally I found the table Embedded Font Selection Commands for Hershey
Vector Fonts and TrueType Fonts in the IDL manual.

Now I can continue with my amazing job :)

Thanks David,
nata
Re: Accessing to Hershey Vector Font Samples [message #68157 is a reply to message #68156] Wed, 30 September 2009 11:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> 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...

Well, completely different graphics system, including different
fonts. :-(

You will have to use the Symbol font here, since object
graphics uses true-type fonts:

aux=OBJ_NEW('IDLgrText', STRINGS='Symbol: !9' + $
STRING("170B) + '!x', /ENABLE_FORMATTING)
XOBJVIEW, aux

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: Accessing to Hershey Vector Font Samples
Next Topic: Re: KRS AVI plugin

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

Current Time: Fri Oct 10 16:24:18 PDT 2025

Total time taken to generate the page: 1.51940 seconds