I'm also unimpressed by the copy-pasted bounds logic in hhea and vhea, and the fact that that's coded in there instead of calling a function on CFF / glyf tables respectively.
if __name__ == "__main__"
unicodedata2