src/Tools/jEdit/patches/accelerator_font
changeset 81454 0bdb0d8e50c0
parent 81453 b99b531f13e6
child 81455 cb92b98b4a4e
equal deleted inserted replaced
81453:b99b531f13e6 81454:0bdb0d8e50c0
     1 diff -ru jedit5.7.0/jEdit/org/gjt/sp/jedit/GUIUtilities.java jedit5.7.0-patched/jEdit/org/gjt/sp/jedit/GUIUtilities.java
       
     2 --- jedit5.7.0/jEdit/org/gjt/sp/jedit/GUIUtilities.java	2024-08-03 19:53:15.000000000 +0200
       
     3 +++ jedit5.7.0-patched/jEdit/org/gjt/sp/jedit/GUIUtilities.java	2024-10-29 11:50:54.062016616 +0100
       
     4 @@ -1094,9 +1094,7 @@
       
     5  				return new Font("Monospaced", Font.PLAIN, 12);
       
     6  			}
       
     7  			else {
       
     8 -				Font font2 =
       
     9 -					new Font(OperatingSystem.isWindows() ? "Lucida Console" : "Monospaced",
       
    10 -						Font.PLAIN, font1.getSize());
       
    11 +				Font font2 = new Font("Isabelle DejaVu Sans Mono", Font.PLAIN, font1.getSize());
       
    12  				FontRenderContext frc = new FontRenderContext(null, true, false);
       
    13  				float scale =
       
    14  					font1.getLineMetrics("", frc).getHeight() / font2.getLineMetrics("", frc).getHeight();