@GarrettBurnett it happens when the user has the same font installed locally on the machine as the one you’ve loaded as a system font in the app, you need to overwrite JUCE to point to the one you’ve loaded in that app – no idea why it occurs but a resolution:
Typeface::Ptr CustomGlobalLookAndFeel::getTypefaceForFont(const Font& f)
{
/* NOTE -- THIS FIXES AN ISSUE OF COLLISION WHEN USERS HAVE THE SAME FONT INSTALLED LOCALLY */
if (f.getTypefaceName() == "XYZ" && f.getTypefaceStyle() == "XYZ") {
return MYFONT_I_DEFINED;
}
return LookAndFeel_V4::getTypefaceForFont(f);
}
Weirdly, this issue is only being experienced on AttributedStrings for some users and the repro there doesn’t cause the problem for me… (still a goat tho)
I’d check if somehow the attributed string is getting around your look and feel you’ve loaded? Is it on a secondary window where look and feel has not been set?