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

Home » Public Forums » archive » Re: how to add chinese font in the 'xyouts' procedure
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: how to add chinese font in the 'xyouts' procedure [message #59324] Mon, 24 March 2008 00:04 Go to previous message
wfzhao is currently offline  wfzhao
Messages: 11
Registered: March 2008
Junior Member
On 3月19日, 下午11时22分, Bulrush <Wasit.Weat...@gmail.com> wrote:
> On Mar 19, 12:07 am, wfz...@bjmb.gov.cn wrote:
>
>
>
>
>
>> Hi,all
>> when I create a contour plot, I need to use 'xyouts' procedure to add
>> a title for my plot map.
>> in the xyouts procedure, I want to use the chinese charactor as the
>> value of the 'string' argument.
>> but the chinese charactor can't be displayed correctly.
>> so anyone can tell my what is wrong?
>> very strange, if i input 'print xxx' in the command line in IDL(XXX
>> present chinese charactor), it will be diaplay correct.
>> so I don't understand why in the procedure 'XYOUTS' it can't
>
>> by the way, I ever search 'xyouts' in the forum, someone said can set
>> the font as 'MS SONG',but when I command it in the IDL command line,
>> the system said there is no such font.
>> so May I have to install song font first?
>
>> I will appreciate any help from all.
>
> You can set the font to Chinese character first.
> !p.font=1
> Device,set_font='SimHei',/TT_font
> plot or xyouts......- 隐藏被引用文字 -
>
> - 显示引用的文字 -

hi,
under windows, it does work
under linux, the error information is : ' can't find the 'SimHei'
font,
so what can I do?
thanks a lot
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: QHULL Documentation Request, Re: Particle_Trace question ?
Next Topic: Re: Dimeo genetic algorithm

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

Current Time: Sat Oct 11 15:36:48 PDT 2025

Total time taken to generate the page: 6.40211 seconds