@@ -21,7 +21,6 @@ public class AppearanceTabViewModel implements PreferenceTabViewModel {
2121
2222 private final BooleanProperty fontOverrideProperty = new SimpleBooleanProperty ();
2323 private final StringProperty fontSizeProperty = new SimpleStringProperty ();
24- private final BooleanProperty fontTweaksLinuxProperty = new SimpleBooleanProperty ();
2524 private final BooleanProperty themeLightProperty = new SimpleBooleanProperty ();
2625 private final BooleanProperty themeDarkProperty = new SimpleBooleanProperty ();
2726
@@ -56,7 +55,6 @@ public AppearanceTabViewModel(DialogService dialogService, JabRefPreferences pre
5655 public void setValues () {
5756 fontOverrideProperty .setValue (preferences .getBoolean (JabRefPreferences .OVERRIDE_DEFAULT_FONT_SIZE ));
5857 fontSizeProperty .setValue (String .valueOf (preferences .getInt (JabRefPreferences .MAIN_FONT_SIZE )));
59- fontTweaksLinuxProperty .setValue (preferences .getBoolean (JabRefPreferences .FX_FONT_RENDERING_TWEAK ));
6058
6159 switch (preferences .get (JabRefPreferences .FX_THEME )) {
6260 case ThemeLoader .DARK_CSS :
@@ -83,11 +81,6 @@ public void storeSettings() {
8381 preferences .putInt (JabRefPreferences .MAIN_FONT_SIZE , newFontSize );
8482 }
8583
86- if (preferences .getBoolean (JabRefPreferences .FX_FONT_RENDERING_TWEAK ) != fontTweaksLinuxProperty .getValue ()) {
87- restartWarnings .add (Localization .lang ("Font rendering tweak for Linux" ));
88- preferences .putBoolean (JabRefPreferences .FX_FONT_RENDERING_TWEAK , fontTweaksLinuxProperty .getValue ());
89- }
90-
9184 if (themeLightProperty .getValue () && !preferences .get (JabRefPreferences .FX_THEME ).equals (ThemeLoader .MAIN_CSS )) {
9285 restartWarnings .add (Localization .lang ("Theme changed:" ) + " " + ThemeLoader .MAIN_CSS );
9386 preferences .put (JabRefPreferences .FX_THEME , ThemeLoader .MAIN_CSS );
@@ -118,8 +111,6 @@ public boolean validateSettings() {
118111
119112 public StringProperty fontSizeProperty () { return fontSizeProperty ; }
120113
121- public BooleanProperty fontTweaksLinuxProperty () { return fontTweaksLinuxProperty ; }
122-
123114 public BooleanProperty themeLightProperty () { return themeLightProperty ; }
124115
125116 public BooleanProperty themeDarkProperty () { return themeDarkProperty ; }
0 commit comments