It's a pain, but to implement hb-ot-font `get_extents` for CFF fonts, we need to implement pretty much all of CFF...