Forum Replies Created
-
AuthorPosts
-
super, thanks
are you sure your non adobe apps support kerning? did you enable
text-rendering: optimizeLegibility;
in your css file?good luck
the current version of RoboFont it is possible to map multiple unicodes to a glyph with a script
glyph = CurrentGlyph() glyph.unicodes = [64, 65] # list of unicodes as decimal values
The inspector has no support for multiple unicodes, this will change in the next version
good luck
This is a know issue, this is already solved in the beta and will be pushed into the next update…
oh oeps, typo, good catch
will be fixed in the next update…he Thom
UpdateCurrentGlyphView()
just refreshes the glyph view, it ask to redraw. It will not update defaults / preferencesYou can update the defaults in all views by posting an preferences changed notification.
from lib.tools.notifications import PostNotification PostNotification("doodle.preferencesChanged")
similar to the ShapeTool see https://github.com/typemytype/RoboFontExtensions/blob/master/pixelTool/PixelTool.roboFontExt/lib/PixelTool.py#L109
good luck
He Ian
Try to add a kerning pair with the ‘+’ button at the bottom. All your kerning groups, starting with a ‘@’ will be listed in the combo box
see http://doc.robofont.com/documentation/workspace/metrics/kern-center/
good luck!
Hi
no that is not intended :)
a bug in pasting glyph objects with all layer contentthanks for reporting, will be solved in the next update
oh, nice little bug, will be solved in the next update. It fails when ever you add a floating number which is not nice for transformations.
thanks
that would be nice :)
as it is now you can open your script browser (see button on the bottom left of the scripting window) and switch from script to script…
Hi
There is a check box at bottom of a scripting window where you can switch between tabs and spaces for indentation.
FYI: I would recommend spaces see http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces
see http://docs.python.org/library/pprint.html
import pprint data = [["nested Item1", "nested Item2", "nested Item3", "nested Item4"], "item1", "item2"] pprint.pprint(data)
good luck!
thanks Jens!
mm, I cannot reproduce this bug
sample script:
glyph = CurrentGlyph() glyph.clearGuides() for a in glyph.anchors: for angle in range(0, 180, 15): guide = glyph.addGuide((a.x, a.y), angle) guide.naked().showMeasurements = True
and from a programming point of view it is maybe better to use
range(start, end, steps)
# print out an angle between 0° and 360° in steps of 15 for angle in range(0, 360, 15): print angle
-
AuthorPosts