Re: [Feature Request] Python API Support Curve & Point Selections

Frank Trampe <[email protected]> Wed, 2 May 2018 10:56:34 -0500
Newsgroups gmane.comp.fonts.fontforge.devel
Message-ID <CANkSbhrkQrzZ23YWF0JVWJV0EZYcR+rGH_Kevdb0Xz-KgtPxJQ@mail.gmail.com>
What sort of operations might you perform on selected points? Since it's a
script, isn't it just as easy to apply the same operation to each point?

And how would you use undo points in a script? If the result is wrong, you
can just rerun the modified script, right?


On Tue, May 1, 2018 at 1:12 PM, Abraham Lee <[email protected]>
wrote:

> Hi, Devs!
>
> I'm wondering what it might take to add support to the Python API for
> getting selections of curves & points instead of entire glyphs. That would
> make it easier for me to target specific locations in a glyph to perform
> custom operations on.
>
> And speaking of custom operations, is there a way to set undo points via
> the Python API? Sometimes when I perform a complex set of operations in a
> script, I get an good undo point, other times I don't get one at all and an
> undo will push the changes to one step prior to what my script did. Hope
> that makes sense.
>
> Thanks for all you do!
>
> Best,
> Abraham
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> fontforge-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fontforge-devel
> http://fontforge.10959.n7.nabble.com/Developer-f3.html
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
fontforge-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
http://fontforge.10959.n7.nabble.com/Developer-f3.html