# 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.
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FontReducer-0.0.1.tar.gz
(2.9 kB
view details)
File details
Details for the file FontReducer-0.0.1.tar.gz.
File metadata
- Download URL: FontReducer-0.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e863b33b055638117c578717b6d680dc00f225dbc82498dd2697c552ced95a1d
|
|
| MD5 |
c14ea678fd6cbe1a87e0e9ae2cdf9de7
|
|
| BLAKE2b-256 |
c9295f3035f453cf9942c5e281246292d9111e2f10706e71fd96a08ac71bd2be
|