You are not logged in.
Pages: 1
I'm trying to build a program that includes building a set of fonts using the fontforge and psMat Python modules. I run into two different problems depending on whether I try to use python2 or python3:
python2: It seems that neither the fontforge package nor the fontforge-git (AUR) package provides python2 bindings. The original font-building script is written for python2, so this would be the ideal solution. Is there some way to get python2 fontforge bindings for Arch?
python3: I ran 2to3 on the script, but it's only able to load either fontforge or psMat; whichever one is imported first works, but the second fails with e.g. "ImportError: 'psMat' is not a built-in module". I've never seen that particular error message before (usually it's module not found); any ideas on how to fix this? I have both fontforge.so and psMat.so in /usr/lib/python3.4/site-packages. I've tested this in iPython as well, and it similarly loads only one or the other, so it's probably not some conflict in the script. Whichever one it does load seems to work fine.
Thanks!
Offline
Pages: 1