Convert TTF to WOFF

I am trying to convert TTF to WOFF using various command line commands and online tools. I tried the following:

Command line:

Online:

I have a ttf file of ~ 220KB in size. All of these tools generate a woff file of about 100 KB, with the exception of font-squirrel, which generates a file with ~ 20 KB optimization.

I'm curious what the font-squirrel function does, which another command line tool (read open source) cannot handle. And if possible, how can I do the same through the command line, even if it involves writing or hacking some code.

+4
source share
1 answer

Simple WOFF compression should produce very similar file sizes, regardless of the tool used.

I expect Font Squirrel to do more to accommodate this additional 80K savings, such as stripping tooltips, dropping OpenType features such as small caps, or a subset to support only western languages.

TTX/FontTools , .

+1

Source: https://habr.com/ru/post/1664233/


All Articles