Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ambroisemaupate/webfont-generator

Subset and convert one or many OTF/TTF files in EOT, SVG, WOFF and WOFF2.
https://github.com/ambroisemaupate/webfont-generator

font-face fonts subset webfont-generator woff woff2

Last synced: 3 months ago
JSON representation

Subset and convert one or many OTF/TTF files in EOT, SVG, WOFF and WOFF2.

Awesome Lists containing this project

README

        

# webfont-generator
**Subset and convert one or many OTF/TTF files in EOT, SVG, WOFF and WOFF2.**

Built thanks to:

* [fontforge](http://fontforge.github.io/), for converting to ttf and svg. You only need to setup command line scripting tool.
* [ttf2eot](https://github.com/wget/ttf2eot)
* [sfnt2woff](https://github.com/kseo/sfnt2woff)
* [woff2_compress](https://github.com/google/woff2)
* [fonttools (pyftsubset)](https://github.com/fonttools/fonttools#other-tools)

![Webfont generator screenshot](/[email protected])

## Usage with Docker

```bash
docker run -ti --name "webfontgen" -p 8080:80 ambroisemaupate/webfontgenerator
```

Then open your browser on `http://localhost:8080`, upload your OTF/TTF font file and… enjoy!

## Development

Clone this repository, then:

```bash
cp config.docker.yml config.yml
composer install
docker-compose up
```

Then open your browser on `http://localhost:8080`