I’m designing a personal Look And Feel for the GUI of my plugin and I’m having some troubles by managing the Typeface of the Look And Feel. More specifically, I declared and object of type Typeface::Ptr in my LookAndFeel class and I instantiated it by using the createSystemTypefaceFor() method in the default constructor of the LookAndFeel. Then I set my font as the default font of my LookAndFeel by calling setDefaultSansSerifTypeface().
The problem is that when I add my LookAndFeel to a label, the text of the label is printed with the default Typeface.
Does someone know why this happens?
Thank you very much!