Skip to main content

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

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-msyh-0.0.0.3.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

py_msyh-0.0.0.3-py3-none-any.whl (13.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page