如何在属性中将字体安装到NetBeans?

时间:2019-06-05 09:03:41

标签: java netbeans fonts

我想知道如何在netbeans的fonts属性中安装新资源

我在这里留下图片:https://imgur.com/VT4reSE

2 个答案:

答案 0 :(得分:1)

  1. 尝试:
     Tools > Options > Fonts & Colours > Syntax
            Category: default
            Font: ([...]) > Select Font
  1. 或者:

将它们添加到.fonts/ directory

答案 1 :(得分:0)

编辑it(‘should pull results’, () => { const componentFixture = TestBed.createComponent(ListComponent); const component = componentFixture.componentInstance; const myService = TestBed.inject(MyService); spyOn(myService, ‘getResults’).and.returnValue(of([myTestItems])); component.formControl.setValue(‘abcdefg’); componentFixture.detectChanges(); expect(component.Items).toEqual([myTestItems]); } 中的netbeans.conf文件

C:\Program Files\NetBeans8.2\etc\netbeans.conf文件中搜索netbeans_default_options

netbeans.conf的末尾添加-J-Dawt.useSystemAAFontSettings=on

enter image description here

现在,您可以在Netbeans中使用系统字体。因此,请在netbeans_default_options

中更改字体

enter image description here