Typography: no longer use Consolas or Courier New as monospaced font on Windows because they have bad vertically placement

This commit is contained in:
Karl Tauber
2022-07-01 23:48:04 +02:00
parent b7761f4b71
commit b82ee2ef61
4 changed files with 18 additions and 5 deletions

View File

@@ -342,8 +342,8 @@ class DemoFrame
// add font families
fontMenu.addSeparator();
ArrayList<String> families = new ArrayList<>( Arrays.asList(
"Arial", "Cantarell", "Comic Sans MS", "Courier New", "DejaVu Sans",
"Dialog", "Liberation Sans", "Monospaced", "Noto Sans", "Roboto",
"Arial", "Cantarell", "Comic Sans MS", "DejaVu Sans",
"Dialog", "Liberation Sans", "Noto Sans", "Roboto",
"SansSerif", "Segoe UI", "Serif", "Tahoma", "Ubuntu", "Verdana" ) );
if( !families.contains( currentFamily ) )
families.add( currentFamily );