From: Abraham L. <tis...@gm...> - 2017-09-12 06:54:02
|
Hi, Frank! My apologies for not mentioning. I'm on Windows 7 & 8.1. I would love to know how to use the FF python library with the standard python installation. I use ffpython all the time for my work, but having the "real world" of python available would make so much more possible for me. Is it really that easy to use on Ubuntu? I may have to dual-boot my machine again just for that... Thanks, Abraham On Tue, Sep 12, 2017 at 12:47 AM, Frank Trampe <fra...@gm...> wrote: > You are not required to use the FontForge Python interpreter. If you > install the FontForge Python library in the right place, you can just > import fontforge in your system's Python environment. On Ubuntu, this is as > simple as installing the package python-fontforge. What platform do you > use? I'd need to do some testing, most likely tomorrow, to figure out how > best to get and to install the Python library on Windows or Macintosh. > > > On Tue, Sep 12, 2017 at 1:34 AM, Abraham Lee <tis...@gm...> > wrote: > >> Hi, all! >> >> I take full advantage of python scripting in FF and I am wondering two >> things: >> >> 1. Is there a good reason Tkinter is usable? Having this available would >> be really handy since FF's basic dialog boxes just aren't that flexible or >> convenient. There are a lot of things that could be done (i.e., plugins) if >> it were accessible. >> >> 2. Is there a better way to send print statements to stdout than through >> FF's warning dialog box? This makes debugging scripts really tricky, though >> I've managed to (kind of) do it. A "normal" terminal output would be >> sooooooo helpful. Any suggestions are welcome. >> >> Ok, one more thing. Why is the included python not the standard package? >> I imagine there's a good reason, but since it's a thinned-out package, it's >> really limiting in what is/isn't possible. Having access to the full >> standard python would really open up a whole new world of possibilities for >> using python scripting with FF. >> >> Thanks, >> Abraham >> > |