Skip to content

Generate a subset of the Symbola font suitable for mathquill-basic

License

Notifications You must be signed in to change notification settings

mathquill/subset-symbola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subset-symbola

Generate a subset of the Symbola font suitable for mathquill-basic.

Install

First, you will need to install https://github.com/fonttools/fonttools. On macOS, you can install fonttools with Homebrew by running

brew install fonttools

Then, install node dependencies with yarn 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.

About

Generate a subset of the Symbola font suitable for mathquill-basic

Resources

License

Stars

Watchers

Forks

Packages

No packages published