Skip to content

Python

Use Python pacakge Pillow to convert font files to PNG images

Python is the most popular programming language!

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
Exit mobile version