Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Generate font subsets

Project description

# FontReducer

reduce font size

## Install

```sh
$ pip install FontReducer
```

## Usage

```sh
$ cat WORDS_TO_REDUCE.txt | fontreducer PATH_TO_FILE PATH_TO_OUTPUT
```

For example, You can use in gulp task.

```coffee
shell = require 'gulp-shell'

gulp.task 'font:gen_subsets', shell.task [
'some_nice_grepping_script > words.txt'
'cat words.txt | fontreducer src/font/some_nice_font.otf dist/some_nice_font.otf'
'rm words.txt'
]
```

## Inspired

https://github.com/3846masa/japont

japont is Dynamic Subsetting System for Japanese fonts.
Very Easy to try on Heroku.

Project details


Release history Release notifications

This version

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for FontReducer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size FontReducer-0.0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page