[rrd-users] Graph with Chinese characters

Benny Baumann BenBE at geshi.org
Thu Jun 7 09:39:42 CEST 2012


Hi,

be sure to include a font that actuallly supports that Unicode range. Neither Aerial, Times New Roman nor Courier do; but there's Aerial Unicode MS you could use.

BenBE.

hoigo <heiko.eichberger at hytera.de> schrieb:

>Hi,
>
>I currently have the problem that I would like to display Chinese characters
>in the title of a graph, but instead of the Chinese characters there will
>only be displayed question marks. I'm using the Windows binary of the
>RRDTOOL in version 1.2.15 on a  German computer. I call it from within Java
>with the following command and parameters:
>
>"rrdtool.exe" graph "c:\temp\perf7964464015992670275.png" --title
>"连接.可使用.ABC (XYZ) --> ABC 1 (XYZ 1)" --vertical-label "ABC 1" --width 550
>--height 300 --lower-limit 0 -u 1.0 --start end-1h
>DEF:var0=127.0.0.1_10167_1-1-1-1.rrd:maxvalue:LAST CDEF:var_up0=var0,CEIL
>CDEF:var_down0=var0,FLOOR
>CDEF:smooth_v0=var0,var_down0,-,0.50,GE,var_up0,var_down0,IF
>LINE2:smooth_v0#FF0000:最大值
>DEF:var2=127.0.0.1_10167_1-1-1-1.rrd:avrvalue:LAST CDEF:var_up2=var2,CEIL
>CDEF:var_down2=var2,FLOOR
>CDEF:smooth_v2=var2,var_down2,-,0.50,GE,var_up2,var_down2,IF
>LINE2:smooth_v2#1020FF:平均值
>DEF:var1=127.0.0.1_10167_1-1-1-1.rrd:minvalue:LAST CDEF:var_up1=var1,CEIL
>CDEF:var_down1=var1,FLOOR
>CDEF:smooth_v1=var1,var_down1,-,0.50,GE,var_up1,var_down1,IF
>LINE2:smooth_v1#00B000:最小值
>http://rrd-mailinglists.937164.n2.nabble.com/file/n7580165/127.0.0.1_10167_1-1-1-1.rrd
>127.0.0.1_10167_1-1-1-1.rrd 
>
>Please find enclosed the RRD file.
>
>Do you have any hints to solve this problem.
>
>Best regards,
>
>Heiko
>
>--
>View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Graph-with-Chinese-characters-tp7580165.html
>Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
>
>_______________________________________________
>rrd-users mailing list
>rrd-users at lists.oetiker.ch
>https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


More information about the rrd-users mailing list