Ubuntu Linux: fixed poorly rendered font (issue #105)

This commit is contained in:
Karl Tauber
2020-05-21 17:11:58 +02:00
parent ce503cedc3
commit bc6cb492f1
3 changed files with 11 additions and 1 deletions

View File

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