Netbeans Font Chooser support for variable fonts
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
# Case
- netbeans 22
- font & color profile
flatlaf dark
this is my first time use of NetBeans, i want to change the font of edior, screenshot is:

the `default` category maybe can change most font settings, the 'inherited' word maybe indicates that.
And i have installed a font names 'source code pro', downloaded from google font. It is a variable font, such as `source code pro extralight`, `source code pro regular`, `source code pro bold`. Font detail from windows settings as:

I found that Netbeans seems like it cant recognize other **source code pro** fonts, it can only see the first of them ordered by some rules, in my case , it is `source code pro extralight`, maybe sort by Windows internal feature or something ,i don't know much about this.
i tried to export configuration to a zip file, and replace the file content contains `source code pro extralight` to `source code pro regular`, and re-zip directories what extracted before, import it back, and Netbeans report `invalid zip file ***`, maybe the font i expect couldn't work or re-zip has errors?
# Compare to Eclipse font chooser

# Suggest
If it possible, Netbeans could support font which is a variable font, the font list could list them all, or the font style could do the same thing.
I guess there is another solution for making font that i want to use works, that is uninstall other `source code pro` font, leave the one i prefer, maybe netbeans could see it.
### Use case/motivation
- Use variable font, if i installed a variable font, how can i use one of them?
- The font list doesn't contains what i expect to use.
### Related issues
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reproducing the issue in NetBeans 22 with the installed variable Source Code Pro font and inspect the font chooser behavior; done means the chooser can list and select the available variable-font styles as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100