我想知道如何在netbeans的fonts属性中安装新资源
我在这里留下图片:https://imgur.com/VT4reSE
答案 0 :(得分:1)
Tools > Options > Fonts & Colours > Syntax
Category: default
Font: ([...]) > Select Font
将它们添加到.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
现在,您可以在Netbeans中使用系统字体。因此,请在netbeans_default_options