More general fix for #18: actually test if the the font content is empty