Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Solved
    • Unsolved
    1. Home
    2. Tags
    3. groups

    • SOLVED Best way to remove glyph from RFont?
      General Questions • scripting kerning opentype features groups • • RafaŁ Buchner  

      10
      1
      Votes
      10
      Posts
      67
      Views

      @frederik Awesome, thanks!
    • R

      Pop out Kerning and Groups
      Feature Requests • user interface kerning groups • • rbmntjs  

      3
      0
      Votes
      3
      Posts
      419
      Views

      R

      Like a charm. Thanks a lot!
    • B

      Saving / exporting kerning groups & table
      General Questions • kerning ufo groups • • b-o  

      5
      0
      Votes
      5
      Posts
      469
      Views

      J

      even better: control-click your ufo and select "show package contents"
    • J

      Access to kerning classes
      General Questions • scripting kerning groups • • joanca  

      2
      0
      Votes
      2
      Posts
      294
      Views

      The kerning keys can be either glyph names or group names. If they are group names (starting with an @) you can edit them in with the groups objects f = CurrentFont() f.groups["@MMK_L_f"] Its possible that this group isn't not in your groups but already hard coded into the features. (normally MM is adding those kerning groups also as font.groups items) note: RoboFont does not automatically convert font.groups to feature groups. Use this extension for converting and adding groups to the feature file: http://github.com/typemytype/RoboFontExtensions/tree/master/groups2Features good luck
    • B

      Invalid groups
      General Questions • glyph names groups vfb • • bobby  

      5
      0
      Votes
      5
      Posts
      423
      Views

      that is easy too :) from mojo.events import addObserver class RenameGroupsObserver(object): def __init__(self): addObserver(self, "checkGroupNames", "fontDidOpen") def checkGroupNames(self, info): print "checking group names for single quotes" font = info["font"] for groupName, items in font.groups.items(): newItems = [] for glyphName in items: if "'" in glyphName: glyphName = glyphName.replace("'", "") newItems.append(glyphName) if newItems != items: ## something changed font.groups[groupName] = newItems print "done checking group names" RenameGroupsObserver() save this script in a file and add it in the preferences as a start up script and you never ever have to worry about single quotes in groups. see http://doc.robofont.com/documentation/workspace/preferences/extensions/ Your font data will change and importing the UFO back in FL will change the groups behavior, off course good luck
    • R

      Group kerning
      Feature Requests • kerning groups • • rf  

      3
      0
      Votes
      3
      Posts
      336
      Views

      R

      @! got it! everything super. thank you very much.
    • J

      Robofont MetricsMachine
      General Questions • kerning groups • • jbl  

      1
      0
      Votes
      1
      Posts
      247
      Views

      J

      Hi there, The groups created in RF are used as "reference groups" in MM, right? Why not directly as 'standard' groups usable for kerning?
    • A

      Group-Spacing
      Feature Requests • space center components groups • • andreas  

      8
      0
      Votes
      8
      Posts
      578
      Views

      N

      That helps! Thanks. :)
    • J

      Groups window behavior
      Feature Requests • user interface groups • • jbl  

      2
      0
      Votes
      2
      Posts
      240
      Views

      yeah, they will also get a "Cancel" button, so the changes will not be performed on the font.groups.