mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
ETF: pass logical font name
On my machine getFontName returned Dialog.plain and wasn't found. getName returns Dialog and everything works GitOrigin-RevId: e9e130786c28e7526371779e05379e0e699c5acb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f383c86f9
commit
d584ee473a
@@ -782,7 +782,7 @@ public class EditorTextField extends NonOpaquePanel implements EditorTextCompone
|
||||
private void setupEditorFont(final EditorEx editor) {
|
||||
if (myInheritSwingFont) {
|
||||
((EditorImpl)editor).setUseEditorAntialiasing(false);
|
||||
editor.getColorsScheme().setEditorFontName(getFont().getFontName());
|
||||
editor.getColorsScheme().setEditorFontName(getFont().getName());
|
||||
editor.getColorsScheme().setEditorFontSize(getFont().getSize());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user