Using a fallback font and glyphs

gui

#1

I have a juce Label with a font set to it. When setting a UTF16 string to the label some characters don’t render correctly (I see random spaces). I think the font is missing glyphs for some UTF16 characters. Because when I use ‘arial’ as font they render correctly. Is there a way to detect this?

I have tried setting the setFallbackFontName on the Font class but this method is not available on macOS. I also tried to see if I can detect something using the getGlyphPositions of the Font class. But no luck so far. Any suggestions?