This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255096

Summary: [81cat]Editor Font does not reset to default if font is removed from System
Product: editor Reporter: manikantannaren <manikantannaren>
Component: OptionsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 8   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Bad Editor
Non Existent font set for Category Default

Description manikantannaren 2015-09-08 13:25:36 UTC
Product Version = NetBeans IDE Dev (Build 201509080002)
Operating System = Windows 8.1 version 6.3 running on amd64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:

1. Install a font on your system (example http://sourcefoundry.org/hack/)
2. Goto Options|Fonts&Colors
3. Language: All Languages
4. Category: Default
5. Bring up Font Dialog
6. Choose Hack
7. CLose OPtions dialog
8. OPen a Java file
9. Shutdown Netbeans
10. Delete Font (Hack in this example) from System
11. Start NetBeans
12. Goto Options|Fonts&Colors
13. Last opened Java File should be opened in editor

ACTUAL:
1. At Step 12 above "Default" category font still shows Hack
2. Editor does not render text cleanly (see attachment Bad Editor)

EXPECTED:
Default category font is set to "Monospaced"
Editor renders text cleanly with requisite Monospaced font
Comment 1 manikantannaren 2015-09-08 13:25:47 UTC
Created attachment 155966 [details]
IDE log
Comment 2 manikantannaren 2015-09-08 13:28:36 UTC
Created attachment 155967 [details]
Bad Editor
Comment 3 manikantannaren 2015-09-08 13:29:31 UTC
Created attachment 155968 [details]
Non Existent font set for Category Default