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

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

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.