From: Kouhei Sutou Date: 2006-12-03T20:39:18+09:00 Subject: Re: PDF::Writer and unicode Hi, In "PDF::Writer and unicode" on Sat, 2 Dec 2006 23:45:08 +0900, Simon Kröger wrote: > Ok, I know there is (or was) no easy way to do that, but the PDF::Writer doc says: > > If all of the conditions are correct, the following code > should display the Japanese characters[...] > > pdf.text("\xfe\xff\x65\xe5\x67\x2c\x8a\x9e") > > Well obviously not all conditions are correct in my environment, i don't see > any Japanese character, i get "þÿeåg,Šž" (if my newsgroup client gets it right). > > All i need are three special chars: ş ğ and ç > > Is there any way to create a pdf document with these chars using PDF::Writer? You can do the thing if you use Pango and cairo (Ruby/Pango and rcairo). Thanks, -- kou