Skip to content

Script written in Python to convert images/svgs to font.

License

Notifications You must be signed in to change notification settings

ArmandoAssuncao/font_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

font_generator

Script written in Python to convert images/svgs to font.

How to use

Install Fontforge

run in MacOS

/Applications/FontForge.app/Contents/MacOS/FontForge -quiet -script font_generator.py --output myfont.ttf --files *.svg --code 61440

run in Linux

fontforge -quiet -script font_generator.py --output myfont.ttf --files *.svg --code 61440

Options

Option Required Default Description
--output, -o
* The output font file.
--files, -f
[] Images/Vectors to add in font.
--code, -c
61440 The unicode of the images, if you pass more than one image, the anothers receive next codes. Accepts between 0-65535
--map-name
The name of the glyphmap file.
--map-format
json The type of the glyphmap file. (Accepts: json, ts-enum)

About

Script written in Python to convert images/svgs to font.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages