TypeRig icon indicating copy to clipboard operation
TypeRig copied to clipboard

Proportionally harmonise control handles to master?

Open tiroj opened this issue 11 months ago • 5 comments

I have described this concept in the FL forum: https://forum.fontlab.com/fontlab-8/poportionally-harmonise-control-handles-to-master/

Perhaps this is functionality that could work within TR?

tiroj avatar Mar 21 '24 17:03 tiroj

Absolutely! Will try it in the coming days and keep in touch. Probably over the weekend :) How does this sound to you?

kateliev avatar Mar 21 '24 20:03 kateliev

Great. No rush on my end, but happy to test.

tiroj avatar Mar 22 '24 02:03 tiroj

@tiroj this has essentially being done.

The new functionality has been added to TR Panel and TR Toolbar in the Node section, right among curve optimization tools - between Tunny (T) and Hobby (H) algorithms denoted with little C under a curve image (for Copy).

Screenshot 2024-03-25 182347

Shown in Red in TR panel and Green in TR Toolbar. Also shown in blue and light blue is the Layer selector in the TR Masthead. As all TR tools this will copy the active layer parameters to one or more layers chosen from the TR Masthead. Light blue for all layers, Blue for selected layers.

Please do try it and let me know what you think.

PS: While you test it out... i will try fixing another problem that has been plaguing TR for the last several FontLab builds - the one where curve optimizations (only?... why?!) are not "permanent" due to problems with Undo stack :( As a rule of the thumb... to be 100% sure that the python curve manipulation will "stick" i would run a FL Round nodes action after the manipulation just to be sure... but also take note that if you are not running some FL cutting edge build you would probably not have any issues :)

kateliev avatar Mar 25 '24 16:03 kateliev

@tiroj the undo problems are now fixed as part of ongoing #91. Fixed the curve actions first, so that you could test it out. The rest of TR will be taking some time to refactor.

kateliev avatar Mar 26 '24 10:03 kateliev

Tested (including undo). Works well.

tiroj avatar Mar 27 '24 16:03 tiroj