python unicode rendering:如何知道字体中是否缺少unicode字符

python unicode rendering:如何知道字体中是否缺少unicode字符

在 Python中,当我渲染一个unicode字符时,例如中文字符,具有选定的字体,有时字体对于常见的unicode字符是不完整的,并且不能呈现有问题的unicode字符.在这些情况下,如果我调用“print”函数,输出通常看起来像一个方框,无论底层unicode字符应该是什么样子. 当然,