There's an active Rentacoder job for dynamically generating a Hebrew PDF document with right-to-left text, images, and barcodes. It looked interesting, so I installed the necessary libraries including PyFribidi, the ReportLab Toolkit, and the PIL, Python Imaging Library. I coded up something to match, as closely as I could without obsessing over it, the sample provided by the job poster, and submitted it. Hoping to get the job, but learned something useful anyway. If I don't get it, remind me to post the source and I will. It's pretty kludgey at the moment, and needs to be refactored, but it has a few useful snippets.
Back to blog or home page
last updated 2010-03-23 01:49:01. served from tektonic.jcomeau.com