Levi Schuck · @levischuck
43 followers · 127 posts · Server infosec.exchange

Finally wrote up a small guide on converting TTF fonts to WOFF2 for the web. A year ago I was trying to make some ASCII diagrams look nice, but the *web* font I used did not come with those boxy characters! Which made for an ugly look.

Turns out the actual TTF _had_ those characters. By redoing the font, I was able to make it look nice and meet my expectations, all the while shrinking it in other places for a small asset download.

This method is useful for anyone who wants to port a TTF to WOFF2 for their personal or professional web development.

Some tags:

levischuck.com/blog/2023-01-we

#webdev #css #fonts #woff2 #ttf #fonttools #pyftsubset

Last updated 3 years ago