Re: Accessing to Hershey Vector Font Samples [message #68156] |
Wed, 30 September 2009 11:45 |
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  |
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.")
|
|
|