public static Font getCompositeFont( String family, int style, int size ) {
		loadFontFamily( family );

		// using StyleContext.getFont() here because it uses
		// sun.font.FontUtilities.getCompositeFontUIResource()
		// and creates a composite font that is able to display all Unicode characters
		Font font = StyleContext.getDefaultStyleContext().getFont( family, style, size );

		// always return non-UIResource font to avoid side effects when using font
		// because Swing uninstalls UIResource fonts when switching L&F
		// (StyleContext.getFont() may return a UIResource)
		if( font instanceof UIResource )
			font = font.deriveFont( font.getStyle() );

		return font;
	}
Gets a composite font for the given family, style and size.
A composite font that is able to display all Unicode characters.
The font family is loaded if necessary via {@link #loadFontFamily(String)}.
<p>
To get fonts derived from returned fonts, it is recommended to use one of the
{@link Font#deriveFont} methods instead of invoking this method.
flatlaf-core/src/main/java/com/formdev/flatlaf/util/FontUtils.java