This does indeed work for me as well.
Although, I would’ve expected the
setDefualtSansSerifTypefaceName call to work in the constructor of my custom LookAndFeel. The rest of my custom LookAndFeel works as expected within my application except for this call. For example here’s a summary of what my code looks like:
class CustomLookAndFeel : public LookAndFeel_V3
setDefaultSansSerifTypefaceName ("Avenir Next"); // This call doesn't work
// The rest of my LookAndFeel which does work . . .
class MainContentComponent : public Component
// The rest of the class . . .
I’m probably just fundamentally misunderstanding something about this.
Thanks again for your solution though! I will definitely be using that solution. I just wanted to clarify my understanding about what I was trying to do earlier with the LookAndFeel Constructor.