I have noticed three Fonts installed on my Mac, that work fine in the “Fonts Demo” for JUCE 7.0.12, but fail in the DemoRunner for JUCE 8.
In JUCE 7, they display their names properly in the list, and in the PreviewBox:
In JUCE 8, the names are blank and the PreviewBox is either blank or corrupted:
Also: I would also point out that the alphabetization of the lists is different between JUCE 7 and JUCE 8; it’s almost like JUCE 8 is using some internal font name to decide the order, and not the displayed font name. JUCE 7 list seems alphabetized properly. For example, the “JFRingMaster” name shows up in the JUCE 7 list in the right place, but shows up elsewhere in the JUCE 8 list. But this is a separate issue.
If I build and debug the JUCE 8 Fonts Demo, it is failing and hitting this assert at Line 496 of juce_SimpleShapedText.cpp:
// It this is hit, the typeface can't display one or more characters.
// This normally shouldn't happen if font fallback is enabled, unless the String contains
// control characters that JUCE doesn't know how to handle appropriately.
jassert (unknownGlyph == infos.end());
I noticed that these 3 fonts are .bmap files. Is this no longer supported?
I have attached one of the fonts in question here. It should be noted that two of them are custom fonts created specifically to display only a few characters, but I have used them for 20+ years without issues for specialized needs. But Kaffeesatz Schwartz (the one included here) is a publicly available font I’ve also had installed for 20+ years.
KaffeesatzEF-Schwarz.bmap.zip (18.3 KB)





