Use Python pacakge Pillow to convert font files to PNG images
Last Updated on 2020-08-26 by Clay
Introduction
Today, I need to plot font files in PNG format and save it, which sounds like a rare requirement. After browsing on the Internet, I found that it can use ImageFont module of Python package Pillow to solved.
At the beginning, I wanted to use the Python package fontTools to solve the problem, but later I found that the Imagefont module in Pillow was better.
Read More »Use Python pacakge Pillow to convert font files to PNG images