Peiiii / pymsyh

use font mysh.ttc in python , quick and easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py-msyh

python utils to use font msyh.ttf in a minute.

install

pip install py-msyh

usage

import pymsyh
# get font path of msyh.ttf
font_path=pymsyh.get_font_path()
# load font (using ImageFont.truetype from PIL)
font= pymsyh.load_font(size=24)

About

use font mysh.ttc in python , quick and easy

License:MIT License


Languages

Language:Python 76.7%Language:Shell 13.7%Language:Batchfile 9.6%