klyn.gui.windows.themes.ThemeManager.scaleFont
method
public static scaleFont(font as String) as String:
Description

Scales an explicit painter font with the current content zoom.

Widgets that render through ThemeManager.resolveStyle already receive a scaled font. Painter-based custom widgets that keep their own font string should call this method before assigning painter.font.

painter.font = ThemeManager.scaleFont("15px Cascadia Mono, monospace")