Subsetting

RoboFontForumsHelp / GeneralSubsetting

This topic has 2 voices, contains 3 replies, and was last updated by  frederik 86 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
February 17, 2012 at 10:20 #3728

Bas

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?

February 20, 2012 at 23:08 #3732

frederik

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)

February 21, 2012 at 15:37 #3736

Bas

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?)

February 23, 2012 at 17:34 #3737

frederik

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.