Domanda

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

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top