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.

27 points · 8 comments · view on lemmy.world

8 Comments

onehundred@lemm.ee · 8 pts · 1y (2 replies)

Preface; I probably cannot help you, just curious. Why did you want to strip the headers out?

Reverendender@sh.itjust.works · 4 pts · 1y (1 reply)

Because instead of the font showing in Font Book or Apple Pages as "IzmirNarrow-Bold" they were showing as "FONTSPRING DEMO - IzmirNarrow-Bold"

MyNameIsIgglePiggle@sh.itjust.works · 2 pts · 1y

Surprised they werent just stored as strings you could edit in a hex editor or something, but then I know nothing about fonts

gonzo-rand19@moist.catsweat.com · 4 pts · 1y (2 replies)

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

https://github.com/fontforge/fontforge

Reverendender@sh.itjust.works · 3 pts · 1y (1 reply)

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

lwuy9v5@lemmy.world · 3 pts · 1y (1 reply)

Want help? Feel free to DM specifics and send the files

Reverendender@sh.itjust.works · 2 pts · 1y

Maybe? Either that or those two hours of my life back that I spent in Laser Focus lol.