fontTools is a family of libraries and utilities for manipulating fonts in Python.
$ pip install fonttools[woff]
$ python
>>> from fontTools.ttLib import TTFont
>>> f = TTFont("TX-02-Regular.ttf")
>>> f.flavor="woff"
>>> f.save("TX-02-Regular.woff")
>>> f.flavor="woff2"
>>> f.save("TX-02-Regular.woff2")
Related
Set TX-02 Oblique in Emacs
Berkeley Mono is a love letter to the golden era of computing.
JetBrainsMono With Slashed Zero
With OpenType Feature Freezer, freeze slashed zero with JetBrainsMono font.
Color Lighten and Darken
RGB color lighten and darken in catppuccin-themes.