Skip to content

Basic python to convert fonts and compress them by only including a subset

Notifications You must be signed in to change notification settings

teamgeek-io/font-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Convert fonts to woff2

  • Compresses fonts by only including the latin characters

Usage

Install dependency:

pip install fonttools

Edit python file to point to your font files in the same directory:

convert_font_to_woff2('font1.otf')
convert_font_to_woff2('font2.otf')

Run script

python convert_fonts.py

About

Basic python to convert fonts and compress them by only including a subset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages