I just spent two hours trying to strip the annoying headers away from some fonts I downloaded, using python, terminal, and CotEditor. I don't know Python. I was not successful.

https://sh.itjust.works/post/40156630

I just spent two hours trying to strip the annoying headers away from some fonts I downloaded, using python, terminal, and CotEditor. I don't know Python. I was not successful. - sh.itjust.works

Lemmy

Preface; I probably cannot help you, just curious. Why did you want to strip the headers out?
Because instead of the font showing in Font Book or Apple Pages as “IzmirNarrow-Bold” they were showing as “FONTSPRING DEMO - IzmirNarrow-Bold”
Surprised they werent just stored as strings you could edit in a hex editor or something, but then I know nothing about fonts
Want help? Feel free to DM specifics and send the files
Maybe? Either that or those two hours of my life back that I spent in Laser Focus lol.

You could try FontForge? It's FOSS/libre and cross-platform, if you care about that.

https://github.com/fontforge/fontforge

GitHub - fontforge/fontforge: Free (libre) font editor for Windows, Mac OS X and GNU+Linux

Free (libre) font editor for Windows, Mac OS X and GNU+Linux - fontforge/fontforge

GitHub
I have it, actually, but I’m not clear on how it would do this particular task?