Hi Tobi & all, I have tried to hack rrd_gfx.c and it works fine in my environment. You can see output at http://www.nsmon.com/graphs/seo.1.kw.m.png or http://www.nsmon.com/graphs/seo.15.kw.m.png
It seems fine, isn't it? :-) Changed rrd_gfx.c is in attachment (I am not C programmer, it may be very bad code) UTF-8 encoding must be used with Unicode TT Fonts, more comments in source code. Regards Vaclav Vobornik -----Original Message----- From: Tobias Oetiker Sent: Thursday, November 04, 2004 7:45 AM To: vobornik Subject: Re: FW: Unicode support? Hi Vaclav, no utf8 support is not available for rrdtool ... but patches for 1.1.x would be welcome ... shold not be all that much of a problem as freetype certainly does support utf8 ... cheers tobi > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of vobornik > Sent: Tuesday, November 02, 2004 4:19 PM > To: [EMAIL PROTECTED] > Subject: [rrd-developers] Unicode support? > > > Hi rrdtools developers, > > I would like to use multi-byte characters (czech, russian, japanese > etc.) > with rrdtool graph, but without success > (http://www.nsmon.com/graphs/seo.10.kw.m.png). > > My tests with creation images with GD/Freetype2 and utf8 fonts works > excellent (http://www.nsmon.com/graphs/gdunicode.png), but rrdtool use > libart instead of libgd. > > Is it possible to create rrdtool images with unicode fonts text? > > Thanks a lot > > Vasek Vobornik -- Attached file removed by Ecartis and put at URL below -- -- Type: application/octet-stream -- Desc: rrd_gfx.c -- Size: 62k (63958 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/rrd_gfx.c -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
