oh, oeps, idd typo, it was redirecting to autoHint instead of stemHist… (will be fixed in the next update)
stemHist takes a binary path as argument.
and has optional arguments:
useCurves=bool: Include stems formed by curved line segments; by default, includes
only stems formed by straight line segments.
blueZones=bool: Return alignment zone report rather than stem report
this is a Adobe FDK tool.
The mojo module is just a collection of useful internal modules. You can also use this:
from lib.tools.compileTools import stemHist
print stemHist("binaryPath.otf", useCurves=True, blueZones=False)
Also if you scale the blues in the font by a factor the value become <real> in the fontinfo instead of <integer>.
Now you can not edit them in the fontinfo window anymore...
So be sure to int(here_a_blue_value)
Yes that is possible only you have to tell a glyphview to redraw it self
Use UpdateCurrentGlyphView() and off course subscribe to the draw notification
(Will fix the oldstyle notification)