Trying to automate the creation of PDFs with the Hindi flashcards for www.ISpeakHindi.com. I am open to anything that can run on Windows or Linux.   I prefer something that would run on Linux so I can put it on the webserver. So I am focused on looking at solution in PHP or Ruby.
I found a wonderful PDF creation library for PHP, but it does not support unicode:
I found a “not quite ready for PRO” version that has been internationalized
I could not get it to work with the Hindi characters, i.e. क ख ग घ etc.
I found PDF::Writer for Ruby, but still no luck..
In the process of looking for this, I found this Ruby on Rails screen cast in Hindi: