This patch just short-circuits the ratio check in the function in case `tm->tmHeight == 0`
Hi, thanks for the patch. I'm not commenting on patch contents, but rather on symptoms you're seeing. Could you try to figure out which font triggers this in status tests? There we go through all available fonts. It's possible that our tmHeight estimation is incorrect somewhere.