https://github.com/arran4/fontlengths
Font lengths tester by generating pngs of each font and sorting by length automatically
https://github.com/arran4/fontlengths
font-length fonts for-fun golang png-generator
Last synced: 5 months ago
JSON representation
Font lengths tester by generating pngs of each font and sorting by length automatically
- Host: GitHub
- URL: https://github.com/arran4/fontlengths
- Owner: arran4
- Created: 2024-04-05T05:40:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T19:39:28.000Z (11 months ago)
- Last Synced: 2024-11-14T03:31:35.260Z (7 months ago)
- Topics: font-length, fonts, for-fun, golang, png-generator
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Font length generator
Doing important procrastination right now. Idea from: https://twitter.com/FreyaHolmer/status/1776007184117063807
Generates a PNG with 20x of each of A-Z lines, and sorts them by pixel length.... For each font on your system.
Results:

`x` many:

Download executable:
https://github.com/arran4/golang-wordwrap/releasesDonwload pre-run results: Look for "premade.zip" in:
https://github.com/arran4/golang-wordwrap/releasesWant to increase the fonts in `premade.zip` modify:
[goreleaser.yml](.github/workflows/goreleaser.yml)Currently adding fonts using:
```
sudo apt install -y fonts-freefont-ttf fonts-freefont-otf xfonts-100dpi
```