CSS-Tricks / coding-fonts

https://coding-fonts.css-tricks.com/
MIT License
460 stars 67 forks source link

Include L|l1iI0Oo____ string in charmap for #69 #95

Closed KasimAhmic closed 3 years ago

KasimAhmic commented 3 years ago

Updates most screenshots for inclusion of the L|l1iI0Oo____ text string to better showcase the side by side differences between similar characters

KasimAhmic commented 3 years ago

I'm not 100% sure how to take screenshots of the Cartograph CF, MonoLisa, and Operator Mono fonts given that I don't own them. A second PR would likely be in order here from someone that owns them. I can open an issue ticket if needed

chriscoyier commented 3 years ago

I'm not 100% sure how to take screenshots of the Cartograph CF, MonoLisa, and Operator Mono fonts given that I don't own them.

I can pull this and add them if I can. Sort of annoying, but that's kind of the point of using screenshots. By not putting the font files in the repo we avoid breaking licenses or having to pay to show them.

KasimAhmic commented 3 years ago

Apologies for the closing/reopening, finger slipped lol

I can pull this and add them if I can. Sort of annoying, but that's kind of the point of using screenshots. By not putting the font files in the repo we avoid breaking licenses or having to pay to show them.

Gotcha, that makes sense. Worst comes to worst, we just have three images that are still just using the old screenshot. Would definitley be nice to update them though if possible.

chriscoyier commented 3 years ago

Should be all set.

I wonder if we should remove all the FONT='font-name' npm run screenshots:js stuff now with the much nicer command line setup?

KasimAhmic commented 3 years ago

Should be all set.

I wonder if we should remove all the FONT='font-name' npm run screenshots:js stuff now with the much nicer command line setup?

Sorry, forgot to reply to this. Yeah, the NPM commands were just left in there as more of a backwards compatibility thing. Honestly didn't give much thought to it but given that they're basically just pre written takeScreenshots.js commands, it probably would make sense to just get rid of them entirely. I'll submit a PR shortly.