Question

I know that this question has probably being asked several times, but so far none of the answers was addressing my specific problem.

I'm going to deploy a django application on Heroku; it needs to draw some text on an image and then display it to the user. The text will be in italian, meaning that unicode support is mandatory.

I'm encountering several problems:

A solution to one (or both) problem will resolve my issue:

  • How to deploy PIL/Pillow on heroku with FreeType support
  • How to draw non-ascii chars using PIL fonts

Many thanks

Was it helpful?

Solution

You can use this PIL fork at your requirements.txt on heroku with FreeType support:

-e git://github.com/errkk/gitpil.git#egg=PIL
Pillow==1.7.8
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top