[cairo] Unable to draw non-english text

Kalle Vahlman kalle.vahlman at gmail.com
Thu Oct 30 23:22:03 PDT 2008


2008/10/31 Isenko Evgeny <isenko at po.gsinet.co.jp>:
> Hi,
>
> I'm using Cairo in C# (MS Visual Studio). It's really great! Drawing to
> a bitmap, easy output to PDF, SVG, PNG etc. are just what I want.
> However I couldn't succeed to draw any unicode text.

ShowText is the very very limited "toy" API that in practise nobody
should use[1] after the first "hello world" experiment. Read here for
more details:

  http://cairographics.org/FAQ/#using_pango


[1] While I understand why it exists, I'm sure all parties involved
would choose not to include it  in (public) API at all if they were to
make the decision again now :) It has brought this very question up
very often, and made lots of people waste time while they never should
have even considered using show_text()...

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the cairo mailing list