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

Home » Public Forums » archive » non-English language
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: non-English language [message #83503 is a reply to message #83435] Thu, 07 March 2013 14:24 Go to previous messageGo to previous message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
On Thursday, March 7, 2013 3:10:43 PM UTC-7, Katya wrote:
> Hi Chris, "showfont, 16, 'Russian'" shows me a table with Russian letters and when I'm trying to use this font for postscript output it does print Russian letters but in some chaotic meaningless way... =( David posted a link above about Cyrillic encoudings, maybe this is the case. Also, I've noticed that Russian symbols are two-bytes, for exapmle,
>
> print, byte('щ')
>
> 209 137
>
> so, it seems that IDL looks for a symbol in ASCII table according to the first byte. But I don't really inderstand what this means :D. I've just noticed that syboles with the same first byte are printed as the same unreadable symbol a-la 'Ñ'.

I think the UNICODE method could actually work, although it seems enormously labor intensive. If you had a font with UNICODE Cyrillic letters (and I think it is fairly easy to find one), you could probably write a "translator function" that could convert your letters to the proper Unicode values, which *ought* to work in PostScript in both direct graphics and object graphics.

Maybe this is not so hard. A table of letters and a table of values, wrapped in the appropriate way so IDL will understand it is UNICODE.

Cheers,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: image-convolution
Next Topic: Re: image-convolution

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

Current Time: Tue Dec 02 09:01:05 PST 2025

Total time taken to generate the page: 2.32351 seconds