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 241523

Summary: Setting large font for comments causes text to be rendered badly
Product: editor Reporter: rashmidixit
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED WONTFIX    
Severity: normal CC: stwr
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Bad rendering of comments with very large font

Description rashmidixit 2014-02-07 07:03:49 UTC
Created attachment 144896 [details]
Bad rendering of comments with very large font

Steps to reproduce

- Go to Options - > Fonts and Colors - > Syntax.
- Set a very large font (36) for comments.
- When you view comments in the editor, the line height is not adjusted causing the text to look very bad.

Picture attached.

Using Build 201402060001 on Windows 7
Comment 1 stwr 2015-07-28 16:58:54 UTC
Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Still reproducible in 8.1 Beta.
My suggestion is to remove all sizes which cause this problem.
Comment 2 manikantannaren 2015-08-24 04:28:18 UTC
Issue still prevalent in Build 201508230002
Comment 3 Martin Balin 2016-07-07 07:31:27 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss