@@ -65,7 +65,7 @@ class PartnersPanel extends JPanel {
65
65
this .consortium .setFont (new Font (this .consortium .getFont ().getName (), this .consortium .getFont ().getStyle (),
66
66
(int ) (this .consortium .getFont ().getSize () * GUIConstants .CONSORTIUM_FONT_SCALE )));
67
67
Rectangle2D rec = new TextLayout (GUIConstants .CONSORTIUM_TEXT , this .consortium .getFont (),
68
- new FontRenderContext (null , true , true )).getBounds ();
68
+ new FontRenderContext (null , true , false )).getBounds ();
69
69
this .consortium .setSize ((int ) (rec .getWidth ()) + GUIConstants .BORDER_WIDTH * 4 ,
70
70
(int ) (rec .getHeight () + GUIConstants .BORDER_WIDTH ));
71
71
@@ -77,7 +77,7 @@ class PartnersPanel extends JPanel {
77
77
this .preforma .setFont (new Font (this .preforma .getFont ().getName (), this .preforma .getFont ().getStyle (),
78
78
(int ) (this .preforma .getFont ().getSize () * GUIConstants .PREFORMA_FUNDED_FONT_SCALE )));
79
79
Rectangle2D rec2 = new TextLayout (GUIConstants .PREFORMA_FUNDED_TEXT , this .preforma .getFont (),
80
- new FontRenderContext (null , true , true )).getBounds ();
80
+ new FontRenderContext (null , true , false )).getBounds ();
81
81
this .preforma .setSize ((int ) (rec2 .getWidth ()) + GUIConstants .BORDER_WIDTH * 2 ,
82
82
(int ) (rec2 .getHeight () + GUIConstants .BORDER_WIDTH ));
83
83
@@ -91,7 +91,7 @@ class PartnersPanel extends JPanel {
91
91
92
92
this .version .setHorizontalTextPosition (SwingConstants .CENTER );
93
93
Rectangle2D recVer = new TextLayout (versionText , this .version .getFont (),
94
- new FontRenderContext (null , true , true )).getBounds ();
94
+ new FontRenderContext (null , true , false )).getBounds ();
95
95
this .version .setSize ((int ) (recVer .getWidth () + GUIConstants .BORDER_WIDTH * 2 ),
96
96
(int ) (recVer .getHeight () + GUIConstants .BORDER_WIDTH ));
97
97
add (this .version );
0 commit comments