rafalbuchner / stemplow Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It would be cool, if when you assign the box for Always, the keybind would instead switch to a toggle for being on or off.
Is there a way to start a plow, and keep it there?
Maybe something like:
Escape
removes all plows.I implemented something similar in a fork of @typesupply ’s Laser Measure.
https://github.com/ryanbugden/lasermeasure/tree/development
More discussion on this on LM:
Hi @RafalBuchner,
I'm getting a traceback:
Observer '<StemPlowSubscriber.StemPlowSubscriber object at 0x1405e26d0>' with '_roboFontCallback' failed: 'StemPlowRuler' object has no attribute 'currentMeasurement1'
Traceback (most recent call last):
File "lib/eventTools/eventManager.pyc", line 165, in callObserver_withMethod_forEvent_withInfo_
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.9/mojo/subscriber.py", line 1659, in _roboFontCallback
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.9/mojo/subscriber.py", line 3320, in start
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.9/mojo/subscriber.py", line 3337, in fire
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.9/mojo/subscriber.py", line 1677, in _roboFontCoalescerCallback
File "/Users/colinmford/Library/Application Support/RoboFont/plugins/StemPlow.roboFontExt/lib/StemPlowSubscriber.py", line 146, in glyphEditorDidScale
File "/Users/colinmford/Library/Application Support/RoboFont/plugins/StemPlow.roboFontExt/lib/StemPlowSubscriber.py", line 418, in updateText
File "/Users/colinmford/Library/Application Support/RoboFont/plugins/StemPlow.roboFontExt/lib/StemPlowSubscriber.py", line 785, in findNames
AttributeError: 'StemPlowRuler' object has no attribute 'currentMeasurement1'
It's strange... when I install StemPlow, it works well for a while, but then after using it for a while — maybe after closing and re-opening RF a few times? — I start getting this traceback while zooming in and out.
I can sometimes fix it by activating StemPlow with "f", and then the error goes away for a bit and then comes back.
I don't have the time at the moment to pick through the code for a cause, but I would say probably the currentMeasurement
variables need to be initialized with a default value on start up?
I often use Tal's Laser Measure as well, in case there is maybe some interaction happening there? Not sure this is a cause, but I can see you take some settings from it.
RoboFont 4.4b (build 2305191108)
Python 3.9.13
MacOS 13.4.1 (Darwin 22.5.0)
Processor i386 (x86_64)
Thanks,
Colin
After reassigning the shortcut, the stem plow doesn't reappear in the Glyphs Edit window
some problems: will add more if I find any
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.