Merge pull request #1611 from googlefonts/retain-gids

Make --retain-gids truncate empty glyphs after the last non-empty glyph.