Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ambroisemaupate/webfont-generator
- Owner: ambroisemaupate
- Created: 2015-02-27T19:33:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-22T18:49:15.000Z (over 3 years ago)
- Last Synced: 2024-10-12T19:37:50.918Z (3 months ago)
- Topics: font-face, fonts, subset, webfont-generator, woff, woff2
- Language: PHP
- Homepage:
- Size: 663 KB
- Stars: 43
- Watchers: 8
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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`