I wonder why anything related to font selection in LookAndFeel doesn’t follow the same rules that drawing methods do (e.g. with Component: checking if a LookAndFeel is set, if not, traverse the hierarchy, etc).
As far as I know (and do), if you want your custom getTypefaceForFont() method to be used, it has to be in a custom LookAndFeel that is then set with LookAndFeel::setDefaultLookAndFeel() (which sets the Desktop’s LookAndFeel).
But that means any custom font embedding and usage applies globally to an app and not on a per Component basis.
I suppose there might be a reason why it’s like this but I can’t figure out why. Any clue?