Docker container for converting fonts to various web formats
342
css3FontConverter is a tool to convert TTF/OTF fonts to EOT, SVG, WOFF, WOFF2 web fonts, and generate a CSS stylesheet with CSS3 @font-face rules.
As usual there's a bunch of ridiculous dependencies so here's a docker image containing everything you need
docker pull stealthii/css3fontconverter
Fetch the code
git clone https://github.com/Stealthii/docker-css3FontConverter.git
cd docker-css3FontConverter
docker build -t stealthii/css3fontconverter .
Convert all ttf and otf files in the current directory (default):
docker run -it -v `pwd`:/fonts stealthii/css3fontconverter
Convert some otf files in /mnt/silly-project:
docker run -it -v /mnt/silly-project:/fonts stealthii/css3fontconverter project*.otf
Content type
Image
Digest
Size
340.2 MB
Last updated
over 7 years ago
docker pull stealthii/docker-css3fontconverter