Forum Replies Created
-
AuthorPosts
-
The gray template glyph cells are being build up for new UFOs from the character set in the preferences and for existing UFOs the font lib key “public.glyphOrder” if the lib key is existing.
You can alter the data in the lib easily with interaction with the UI by:
font = CurrentFont() glyphOrder = font.glyphOrder glyphOrder.remove("a") # test before removing a name if its in the list font.glyphOrder = glyphOrder # done
This is sort of what happens when you alt-delete a glyph in the font overview.
good luck
nope, use guides and enable “Show Measurements”
see how defcon is managing his representation factories:
RoboFont uses a subclass to build the glyph cells see http://code.typesupply.com/browser/packages/defconAppKit/trunk/Lib/defconAppKit/representationFactories/glyphCellFactory.py
use addRepresentationFactory to register a new one see http://code.typesupply.com/browser/packages/defcon/trunk/Lib/defcon/objects/glyph.py#L8
good luck
your second question:
yeah off course! you can overwrite the defcon glyph cell factory inside RoboFont and create your own glyph cells.
The glyph cell representation is called “doodle.GlyphCell”
enjoy!
that is gone!
It was completely confusing UI with very low functionality’s.
If you want to have support for swapping and copying layers around, I suggest to set a hot key for “Copy / Swap to layer”
see http://doc.robofont.com/documentation/workspace/glyph-editor/
and http://doc.robofont.com/documentation/workspace/preferences/glyph-view/(just adjusted the documentation)
thanks
super!
this will be fixed
And to reply to your first questions (different rounding behavior for off curves) :
This is maybe useful when the offcurves aren’t extreme points and the bcp length is rather small (1-2 units). In all other cases, where the points are placed at extreme points this is not really an issue.
Havent tested this out. The main issue which rasterizer is supporting floats. During development this was possible but the binary fonts freaked out in lots of cases.
Why worry about half a unit? scale up the ump or hint the font properly.
Otherwise I know RoboFont allows you to draw with floating points.floating points in binary fonts is not possible at all :)
As mentions in red at the bottom of the preferences if you change the template font: Template glyphs preview font will be applied after a restart.
It will return False also if there is a key in the glyph.lib. Main reason is that the glyph.lib contains user set data and when a user has added some data in the lib, like a mark color, but also layers, the glyph has some data so its not empty…
RoboFont only checks for updates when the app becomes active.
In this case you arent switching to an other app and back. But the file get modified externally… while RoboFont is the active app.Have to think about a proper solution.
October 15, 2012 at 08:59 in reply to: Build single one-time operation tool/button in glyph window, like RemoveOverlap #5137use
## this returns the vanilla window object info["window"].window()
October 14, 2012 at 19:50 in reply to: Build single one-time operation tool/button in glyph window, like RemoveOverlap #5132from mojo.events import addObserver class test: def __init__(self): addObserver(self, "myCallback", "glyphWindowDidOpen") def myCallback(self, info): print info["window"] print info["glyph"] print "a new glyph window did open" test()
and use vanilla to add a toolbar item see http://code.typesupply.com/browser/packages/vanilla/trunk/Lib/vanilla/vanillaWindows.py#L449
good luck
The template glyphs have no unicode so they will get the generic template glyph drawing.
You can add unicodes to template glyphs by
|
see http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/ -
AuthorPosts