googlefonts / roboto-classic

Development of a Roboto Variable font
SIL Open Font License 1.1
151 stars 15 forks source link

Package mapper-VTT-gids.py for reuse #61

Open davelab6 opened 4 years ago

davelab6 commented 4 years ago

In #46 this project demanded a script to rearrange VTT XML glyph indexes, which is current mapper-VTT-gids.py

Rearranging VTT XML glyph indexes is a common task when dealing with VTT projects, because VTT itself uses GID Order although vttLib does not.

Therefore, it would be good to polish that script, removing the Roboto-specific variables and such, and packaging it so it can be used in any VTT project.

Perhaps the right place to publish this script is in the main fonttools repo's /Snippets folder?

m4rc1e commented 4 years ago

vttLib already transfer hints by glyph name so we don't need this script.