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 222470 - Breadcrumbs Font is different from (uglier than) navigator
Summary: Breadcrumbs Font is different from (uglier than) navigator
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2012-11-20 13:59 UTC by Petr Cyhelsky
Modified: 2012-11-22 02:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wrong font in breadcrumps (13.39 KB, image/png)
2012-11-20 16:05 UTC, Petr Somol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-11-20 13:59:04 UTC
Although the font seems to be the same, it seems differently anti-aliased and the breadcrumbs one seems uglier.
Comment 1 Petr Somol 2012-11-20 16:05:31 UTC
Created attachment 128151 [details]
wrong font in breadcrumps

I confirm that the font now used in breadcrumps is worse than the one in Navigator. See the attachment for illustration: I could identify that the font used in bradcrumps is Arial, aliased, but not using ClearType. I could not identify which is the font used in Navigator, but is is clearly more legible and rendered better, see the colored antialising pixels, they show that Navigator fonts are rendered using ClearType. The font in Navigator is more suitable for display in small sizes as its shapes are more open (compare for instance the bottom line ending in 'e', or the white space inside 'd'), character heights are more distinguished (in Arial the top boundary of all high characters is the same, in the better font 'd' and 'l' reach higher than 'M' and 't' what helps legibility) and as a result do not get optically cluttered at small size. Jan, is there a chance to replicate Navigator renderer here ?
Comment 2 Jan Lahoda 2012-11-21 14:00:01 UTC
Thanks to Jirka for many investigations. I hope this might fix the problem:
http://hg.netbeans.org/jet-main/rev/4f47278ae45f
+this dependency change:
http://hg.netbeans.org/jet-main/rev/9fa57bf8bbdf

Fixing the line that is not properly horizontal:
http://hg.netbeans.org/jet-main/rev/37e352508d0f
(Thanks again to Jirka for noticing that.)
Comment 3 Jan Lahoda 2012-11-21 17:33:31 UTC
Thanks to Jirka's continued effort, a fix that should (fingers crossed) work:
http://hg.netbeans.org/jet-main/rev/7fe4d765f940
Comment 4 Quality Engineering 2012-11-22 02:46:23 UTC
Integrated into 'main-golden', will be available in build *201211220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4f47278ae45f
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #222470: trying to find out the correct rendering hints while painting breadcrumbs.