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 205945 - Rendering problem in Editor
Summary: Rendering problem in Editor
Status: RESOLVED DUPLICATE of bug 205917
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 15:04 UTC by _ gtzabari
Modified: 2011-12-06 20:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2011-12-05 15:04:01 UTC
Product Version: NetBeans IDE Dev (Build 201112050600)
Java: 1.7.0_01; Java HotSpot(TM) 64-Bit Server VM 21.1-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\g.tzabari\.netbeans\dev
Cache directory: C:\Users\g.tzabari\.netbeans\dev\var\cache

Something weird is going on with fonts / anti-aliasing in recent builds. It's a bit difficult for me to explain the problem... As I move the caret across the editor I see the rendering change on a per-line (and sometimes even per-character) basis. For example I have this text:

  Timestamp timestamp = session.query(s).uniqueResult(s.lastNetworkDiscovery);

When I place the caret on top of "lastNetworkDiscovery" the "w" is rendered well (with anti-aliasing) but when I move the caret to another line the "w" rendering changes to look more like a "v" (as if anti-aliasing is disabled). Either something is screwed up with anti-aliasing or the font type/style is being changed.

Expected behavior: text should render the same regardless of where the caret is located.

I believe this bug started sometime in the past two weeks.
Comment 1 _ gtzabari 2011-12-05 15:06:31 UTC
By the way, I've just installed build 201112050600 this morning with a clean userdir.
Comment 2 _ gtzabari 2011-12-05 16:23:32 UTC
It turns out this is a recent regression. The problem is not present in dev build 201111290600.
Comment 3 _ gtzabari 2011-12-05 16:47:54 UTC
This bug also exists in 7.1 RC2.
Comment 4 Marian Mirilovic 2011-12-06 08:15:13 UTC
_ gtzabari, 
could you please also test latest FCS build ? 
http://bits.netbeans.org/7.1/nykwml/fcs/2011-12-05_11-21-34

It contains fix of issue 205917
Comment 5 _ gtzabari 2011-12-06 16:03:55 UTC
Marian,

The build you mentioned fixes the problem for me.
Comment 6 Marian Mirilovic 2011-12-06 20:46:29 UTC
(In reply to comment #5)
> Marian,
> 
> The build you mentioned fixes the problem for me.

This is perfect, thanks a lot for confirmation !

*** This bug has been marked as a duplicate of bug 205917 ***