I've been having a really hard time to get all my components use a custom font. I added the font to my binary data, and in my lookandfeel class I overrode all the getXFont() methods I could find: getLabelFont(), getComboBoxFont(), getTextButtonFont() and getMenuBarFont(), which seem to all work.
But the text in my tab buttons and toggle buttons was not using my custom font (and I could not find a getXFont() method for those). So I overrode getTypefaceForFont(), which changed the font, but now the size of the font is totally off (for tab buttons and toggle buttons)...
I then tried to override drawTabButtonText(), but that didn't change anything.
How can I change the default font size of tab buttons and toggle buttons? Or is there a more consistent way of setting custom fonts for all components?