You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "caldy2000 (via GitHub)" <gi...@apache.org> on 2024/08/04 15:27:01 UTC
[I] Netbeans Font Chooser support for variable fonts [netbeans]
caldy2000 opened a new issue, #7636:
URL: https://github.com/apache/netbeans/issues/7636
### 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269585695
@neilcsmith-net "Source Code Pro" is a font made for code, it is a monospaced font like all IDE fonts.

https://fonts.google.com/specimen/Source+Code+Pro?preview.text=public%20void%20main(String...%20args)%20%7B%7D
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269688002
From what I can tell, this is an AWT limitation. There's an open issue for IntelliJ for variable fonts too. Pending JDK support, I think you'll have to install the static font variant(s) you want instead @caldy2000
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269594345
@mbien I'm aware what it is! :stuck_out_tongue_winking_eye: Have you downloaded the zip from there? You'll find static fonts (separate files for each weight) and a variable font (all weight variants in a single file). I'm not sure we support the latter?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "caldy2000 (via GitHub)" <gi...@apache.org>.
caldy2000 commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2270321038
Hello, @neilcsmith-net @mbien , this is my new try:
1. clear source code from Windows
2. install static font file one by one, i choosed 'regular' and 'medium', restart Netbeans
i can see there lists `source code pro` and `source code pro medium`, actually, i installed
+ `scp regular`
+ `scp bold`
+ `scp italic`
+ `scp medium`
these four
3. it works as @neilcsmith-net says, and looks similar to @mbien
I know how to use it now, thanks for your @mbien @neilcsmith-net help.Have a nice day!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269529617
hi @caldy2000. I happen to use the same font and it works fine for me. It is one of the default fonts of manjaro linux, so I didn't have to install anything.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269571130
@mbien at a guess you're using the static vs variable font variant? I'm curious what the AWT support is like for these.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Netbeans Font Chooser support for variable fonts [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #7636:
URL: https://github.com/apache/netbeans/issues/7636#issuecomment-2269605748
It must be the non-variable version of the font then.
i haven't downloaded anything, it was preinstalled out of the box, the package is called "adobe-source-code-pro-fonts":
https://github.com/adobe-fonts/source-code-pro
```
tree /usr/share/fonts/adobe-source-code-pro/
/usr/share/fonts/adobe-source-code-pro/
├── fonts.dir
├── fonts.scale
├── SourceCodePro-BlackIt.otf
├── SourceCodePro-Black.otf
├── SourceCodePro-BoldIt.otf
├── SourceCodePro-Bold.otf
├── SourceCodePro-ExtraLightIt.otf
├── SourceCodePro-ExtraLight.otf
├── SourceCodePro-It.otf
├── SourceCodePro-LightIt.otf
├── SourceCodePro-Light.otf
├── SourceCodePro-MediumIt.otf
├── SourceCodePro-Medium.otf
├── SourceCodePro-Regular.otf
├── SourceCodePro-SemiboldIt.otf
├── SourceCodePro-Semibold.otf
├── SourceCodeVF-Italic.otf
└── SourceCodeVF-Upright.otf
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists