A Brief Discussion on Fonts
A while back, I found that Matplotlib couldn’t display Chinese characters properly. While solving the problem, I learned a fair bit about how font rendering works. Here are my notes. 1. Encoding and Fonts We know that to store characters in a computer, we assign a numeric code to each character. This artificial convention is called character encoding. Common encodings include ASCII, GBK, Unicode, and so on. Character encoding is the data representation of characters....