Just van Rossum on Nostr: Ever needed to programmatically rename glyphs in .fea files? Here's something I made: ...
Ever needed to programmatically rename glyphs in .fea files? Here's something I made:
https://gist.github.com/justvanrossum/1f816294c55abd1e762976702b01e6b7Disclaimer: this has been tested on all .fea test files in the fonttools test suite, but not yet on real fonts. Feedback welcome.
(I didn't expect this to be possible in under 100 lines.)
(Oh how I love singledispatch.)
Published at
2024-03-20 20:36:54Event JSON
{
"id": "34ef0518ba81afdb43d7385dbf850447b843572bb74161dc7eedfe868a2b4f6d",
"pubkey": "8fce670ca046b0fcf83476beedbee1708f430561347edabc26fdead07a654e21",
"created_at": 1710967014,
"kind": 1,
"tags": [
[
"proxy",
"https://typo.social/users/justvanrossum/statuses/112129934265716063",
"activitypub"
]
],
"content": "Ever needed to programmatically rename glyphs in .fea files? Here's something I made: https://gist.github.com/justvanrossum/1f816294c55abd1e762976702b01e6b7\n\nDisclaimer: this has been tested on all .fea test files in the fonttools test suite, but not yet on real fonts. Feedback welcome.\n\n(I didn't expect this to be possible in under 100 lines.)\n(Oh how I love singledispatch.)",
"sig": "dbca96bd1d4bf2820f61d2c09342fa216b5d12dd5a3ac2b2a9e0ede8f81de8913c7b2bc87e32107f245f4dc0f992b7a8686f03ad9580f59ea3672bfd8b0a76aa"
}