Subsetting

RoboFont Forums Help / General Subsetting

This topic contains 3 replies, has 2 voices, and was last updated by  frederik 8 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3728

    Bas
    Participant

    Deleting glyphs in RoboFont doesn’t delete those glyphs in kern & gsub feature. Which means that manually deleting glyphs leads to an unusable ufo, because those deleted glyphs are still referred to in the feature files so the ufo doesn’t generate anymore. The ufo then turned into a jungle.

    What would be the correct approach for subsetting in RF?

    #3732

    frederik
    Keymaster

    The next version will have a pref setting that will let users choose if they want to remove the glyph name from font.groups and font.kerning when a glyph is being deleted.

    RoboFont will not remove the glyph name from the feature file (not in the kern feature or in feature groups)

    And subsetting is easier the other way around, I think. Create a new documents and copy all the necessary glyphs from a “master” UFO. (bests with a script off course)

    #3736

    Bas
    Participant

    Okay.

    About the new pref: if deleted glyphs, which will be removed from the kern groups, are part of an exception in the kerning, will that exception than also be deleted? (or is this oldskool feature-file thinking?)

    #3737

    frederik
    Keymaster

    it will remove the glyph name from all groups in font.groups
    and it will remove the kerning pair of one of two is equal to the removed glyph

    so when a user removes glyph ‘A’

    it will remove (if those settings are enabled):
    font.kerning[(‘A’, ‘V’)]
    and
    font.kerning[(‘A’, ‘myKerningGroups’)]
    and
    font.kerning[(‘V’, ‘A’)]

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.