Skip to content

sungjunyoung/ttf-to-jpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ttf-to-jpg

python implement that makes .ttf/.otf files to .jpg set JUST KOREAN

Screenshot

screenshot

requirement

  • Python 3.6
  • Pillow 4.2.1
pip install -r requirements.txt

usage

there are two example fonts (.ttf/.otf) in ttf_dir

ttf-to-jpg.py [-h] [--ttf_dir TTF_DIR] [--jpg_dir JPG_DIR]
                     [--size SIZE] [--offset OFFSET]

help

python ttf-to-jpg.py --help

arguments

  • ttf_dir : directory that includes .ttf files
  • jpg_dir : directory that includes results of .jpg
  • size : size of result jpg
  • offset : offset (padding)

Thanks to :)

About

python implement that make ttf to jpg set

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages