Skip to content

Sample script which generates an opentype font including svg color glyphs

Notifications You must be signed in to change notification settings

suzusime/handmade-font

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a script to add svg color glyphs to a font.

Requirement

  • ttx (in AFDKO)
  • lxml
    • $ pip install lxml

Usage

$ ttx -x NAME -x "SVG " -o source.ttx source.otf
$ vim generate.py # edit some config
$ python generate.py
$ ttx -o out.otf out.ttx

If you add nyan.svg to the font, you can display the glyph when you type :nyan:.

LICENSE

source.otf (Adobe Source Code Pro) is licensed under SIL OPEN FONT LICENSE Version 1.1.

Other files are licensed under MIT License.

About

Sample script which generates an opentype font including svg color glyphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published