I'm noticed in NetBeans in Windows 10 - if I set editor font to "Courier New" - line spacing is normal. Then if font is set to "DialogInput" - line spacing is about 1:2, easier to read/work. "DialogInput" font is simply "Courier New", but in this case somehow modified? On CentOS I see no difference. Is it possible to match "DialogInput" font with "Courier New" plus some line spacing properties? I can set line spacing in NetBeans properties at
<entry javaType="java.lang.Float" name="line-height-correction" xml:space="preserve">
But trying to find if it is possible to do that with
DialogInput fonts are controlled by Java. I found that in JDK12 file (both on CentOS and Win10)
# # Legacy logical font family names and logical font aliases should all # map to the primary logical font names. # serif=serif times=serif timesroman=serif sansserif=sansserif helvetica=sansserif dialog=sansserif dialoginput=monospaced monospaced=monospaced courier=monospaced
So those fonts are simply
monospaced. And NetBeans settings file
~/.netbeans/11.1/config/Editors/Preferences/org-netbeans-modules-editor-settings-CustomPreferences.xml is exatcly the same on CentOS and Win10. So still can not uderstand this different behaviour..