https://github.com/mathquill/subset-symbola
Generate a subset of the Symbola font suitable for mathquill-basic
https://github.com/mathquill/subset-symbola
Last synced: 4 months ago
JSON representation
Generate a subset of the Symbola font suitable for mathquill-basic
- Host: GitHub
- URL: https://github.com/mathquill/subset-symbola
- Owner: mathquill
- License: mit
- Created: 2016-06-02T21:58:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T13:56:50.000Z (almost 2 years ago)
- Last Synced: 2025-03-05T07:28:26.546Z (over 1 year ago)
- Language: Makefile
- Size: 922 KB
- Stars: 1
- Watchers: 11
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# subset-symbola
Generate a subset of the [Symbola](http://users.teilar.gr/~g1951d/) font suitable for mathquill-basic.
## Install
First, you will need to install [https://github.com/fonttools/fonttools](fonttools). On macOS, you can install fonttools with [Homebrew](https://brew.sh/) by running
```
brew install fonttools
```
Then, install node dependencies with [yarn](https://yarnpkg.com/lang/en/) by running
```
yarn
```
## Build Instructions
Just run `make`.
The subset of characters that make it into Symbola-basic are specified in the Makefile.
This produces the following output in the build folder:
```
build/Symbola.ttf
build/Symbola.woff
build/Symbola-basic.ttf
build/Symbola-basic.woff
build/Symbola-basic.css
```
`build/Symbola-basic.css` inlines Symbola-basic.woff as a data uri.
## TODO
For some reason, vulgar fractions like 1/2 and 1/3 are also ending up in Symbola-basic, even though we aren't asking for them.