[labeling] Further fix for #8367, 'font missing' text keeps showing up

- Move to more generic test on font family