|
From: Fred B. <cop...@ki...> - 2019-08-16 04:48:08
|
Upon thinking about it some more, I've figured it out.
There's a parameter in settings called "AutotraceArgs". You can set this in
Python via e.g.:
fontforge.setPrefs("AutotraceArgs", "-i")
A similar function probably exists in the FF scripting language, but we
*strongly* recommend that you use Python only.
So, no GitHub request is needed; this is already possible.
Best,
Fred Brennan
On Friday, August 16, 2019 12:32:34 PM PST Fred Brennan wrote:
> Hello:
>
> It doesn't seem possible to send Potrace/Autotrace parameters from Python
> (or the legacy FF scripting language). I checked the function definition
> and no parameters are allowed.
>
> We might want to add some, I didn't know holding down shift works like that
> but you're right, it does. You might want to open a GitHub issue to track
> this.
>
> On Friday, August 16, 2019 12:24:31 PM PST Sergei Tokaev wrote:
> > Hi. i encountered an issue, cannot find how can i pass parameters to the
> > Autotrace() in fontforge script, in a similair way as i pass them in GUI
> > when i hold shift key while hitting autotrace. Element>(shift) Autotrace
> > ->
> > dialogbox appears for the additional parameters to the autotrace or
> > potrace. Any response appreciated.
>
> _______________________________________________
> fontforge-users mailing list
> fon...@li...
> https://lists.sourceforge.net/lists/listinfo/fontforge-users
> http://fontforge.10959.n7.nabble.com/User-f8781.html
|