-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IDEA] Enable administrator font configuration #4780
Comments
I cannot find links quickly but this may be relevant to some long standing historic issues for:
Letting the user change fonts may help mitigate those other issues. |
It's actually not an easy workaround. Tahoma is not a free font and previous workarounds no longer work. The problem with the Linux replacement font for Tahoma - or changing fonts in general - is that many labels and data grid columns are sized to fit the hard-coded font and are not adjustable. This leads to things being truncated and difficult to read. |
I agree that the Administrator tool would be better if it supported font changes. In the meantime, are these UIConstants somewhere I can manually edit? |
Expose UIConstants font parameters to the administrator configuration to be able to change font size and type.
// fonts
public static final String MONOSPACED_FONT_NAME = SystemUtils.IS_OS_MAC ? "Courier" : "Monospaced";
public static final Font TEXTFIELD_PLAIN_FONT = new Font("Tahoma", Font.PLAIN, 11);
public static final Font TEXTFIELD_BOLD_FONT = new Font("Tahoma", Font.BOLD, 11);
public static final Font BANNER_FONT = new Font("Arial", Font.BOLD, 36);
public static final Font DIALOG_FONT = new Font("Dialog", Font.PLAIN, 12);
public static final Font MONOSPACED_FONT = new Font(MONOSPACED_FONT_NAME, Font.PLAIN, 12);
The text was updated successfully, but these errors were encountered: