1

is there a python library for supporting OpenType features? where can i get it? please do not guide to fontforge, i live in Iran , so i can not download anything from them.

sorush-r
  • 10,490
  • 17
  • 89
  • 173

3 Answers3

3

The Python Imaging Library (PIL) supports OpenType.

Can Berk Güder
  • 109,922
  • 25
  • 130
  • 137
  • PIL supports OpenType fonts, but it ignores OpenType features like Contextual Alternatives and Ligatures. – tobltobs Mar 16 '17 at 18:11
2

If you refer OpenType Fonts, there is python library for fontforge

http://fontforge.sourceforge.net/python.html

YOU
  • 120,166
  • 34
  • 186
  • 219
1

You can use Pango and Cairo and then its python binding 'pycairo' available in the last site too. You can access to some (not all) OpenType features with these libraries.

casasin
  • 153
  • 7