You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to use the font chooser for an editor and be able to select only monospace fonts.
Describe the solution you'd like
Probably the best option would be a checkbox in the FontChooser panel to filter only monospace fonts.
I didn't find how to determine in Java in a Font is monospace or not. I would take some characters like space, x, i, W and check if they render to the same width.
Describe alternatives you've considered
Another possible option would be to allow users of the library to initialise the list of fonts to select from.
The text was updated successfully, but these errors were encountered:
Thanks for the request. A checkbox would be an extra action for the user and as far as I understand you want to enforce monospace fonts, right? How about a boolean option before creating the font chooser to only show monospaced fonts?
In my case, I think that users would prefer to have monospace fonts. However I would leave this decision to user. If he/she wants to choose from monospace fonts, they click the checkbox
Is your feature request related to a problem? Please describe.
I want to use the font chooser for an editor and be able to select only monospace fonts.
Describe the solution you'd like
Probably the best option would be a checkbox in the FontChooser panel to filter only monospace fonts.
I didn't find how to determine in Java in a Font is monospace or not. I would take some characters like space, x, i, W and check if they render to the same width.
Describe alternatives you've considered
Another possible option would be to allow users of the library to initialise the list of fonts to select from.
The text was updated successfully, but these errors were encountered: