pravins / lohit

Lohit fonts family project to supporting Indian scripts.
Other
39 stars 11 forks source link

[easy fix] update lohit scripts to python3 #60

Closed pravins closed 7 years ago

pravins commented 9 years ago

Lohit fonts project has 4 scripts:

  1. apply_featurefile.py
  2. auto_test.py
  3. generate_featurefile.py
  4. generate_test.py

Not test with python3 presently.

mandarvaze commented 9 years ago

I've fixed this issue in my local fork Scripts works without error in both python2 as well as python3, except the following error (which I don't think is related to python version)

ImportError: No module named 'fontforge'

Also, I executed these scripts as "python scriptname.py" on which case they print the usage and exit. So I am not sure if all the cases are fixed/work with Python3

Can you provide some examples about how to run these scripts (help printed as usage wasn't clear enough to me)

Also - how to get rid of ImportError ? "pip install fontforge" failed