mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-142430 HiDPI not working correctly on Linux with KDE
This commit is contained in:
@@ -229,13 +229,13 @@ public class FontOptions extends JPanel implements OptionsPanel{
|
||||
if (!FontPreferences.DEFAULT_FONT_NAME.equals(primaryFontFamily)) {
|
||||
fontPreferences.addFontFamily(primaryFontFamily);
|
||||
}
|
||||
fontPreferences.register(primaryFontFamily, JBUI.scale(fontSize));
|
||||
fontPreferences.register(primaryFontFamily, fontSize);
|
||||
}
|
||||
if (secondaryFontFamily != null) {
|
||||
if (!FontPreferences.DEFAULT_FONT_NAME.equals(secondaryFontFamily)){
|
||||
fontPreferences.addFontFamily(secondaryFontFamily);
|
||||
}
|
||||
fontPreferences.register(secondaryFontFamily, JBUI.scale(fontSize));
|
||||
fontPreferences.register(secondaryFontFamily, fontSize);
|
||||
}
|
||||
updateDescription(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user