Skip to content
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

Open
thisispaco opened this issue Oct 12, 2021 · 4 comments
Open

[IDEA] Enable administrator font configuration #4780

thisispaco opened this issue Oct 12, 2021 · 4 comments
Labels
enhancement New feature or request Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-6998 triaged

Comments

@thisispaco
Copy link

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);

@thisispaco thisispaco added the enhancement New feature or request label Oct 12, 2021
@jonbartels
Copy link
Contributor

I cannot find links quickly but this may be relevant to some long standing historic issues for:

  • Support for non-western languages
  • Issues with MS fonts (like Tahoma) on Linux systems (easy workaround to install a font pack though)

Letting the user change fonts may help mitigate those other issues.

@tonygermano
Copy link
Collaborator

tonygermano commented Oct 13, 2021

  • Issues with MS fonts (like Tahoma) on Linux systems (easy workaround to install a font pack though)

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.

@tonygermano
Copy link
Collaborator

Related to #4527, #4019, #2129

Possible duplicate of #3251 and #2582, the second of which I already requested to be reopened

@pladesma pladesma added triaged Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-6998 labels Oct 15, 2021
@flugruger
Copy link

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);

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-6998 triaged
Projects
None yet
Development

No branches or pull requests

5 participants