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 62847 - Cannot change font for line numbers gutter
Summary: Cannot change font for line numbers gutter
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker with 2 votes (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-08-23 12:41 UTC by Milan Kubec
Modified: 2009-11-02 10:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (15.99 KB, image/png)
2005-08-23 12:42 UTC, Milan Kubec
Details
screenshot (31.04 KB, image/png)
2005-08-24 08:27 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-08-23 12:41:34 UTC
[dev-200508221800, JDK 1.5.0_04]

Font for line numbers gutter is not derived from editor font anymore. It means
that after changing editor font the UI of Editor looks a bit inconsistent. See
attached screenshot.
Comment 1 Milan Kubec 2005-08-23 12:42:34 UTC
Created attachment 24147 [details]
screenshot
Comment 2 Martin Roskanin 2005-08-23 12:50:46 UTC
It is designed behaviour following UI spec:
http://ui.netbeans.org/docs/ui/editor/gutter/glyphgutter-foldingbar.html

"Line numbers are displayed always using the default black Monospace font,
in-depended on the fonts used in the Editor. The size of line number characters
must be always 1 pt smaller against the font size used in the Editor (e.g. if
the Editor use the font size 12 pt, line numbers are displayed using size 11 pt)."
Comment 3 Milan Kubec 2005-08-23 15:14:25 UTC
Well, I'm glad that we follow UI specs, it's always good to do that. BUT. If the
author of the spec would use different platform than Mac and different font face
than default and different font size than default he would surely find out how
ugly the editor actually is with those settings. If you don't accept this as
issue against editor UI, please reassign to author of the UI Spec.
Comment 4 Martin Roskanin 2005-08-23 16:46:53 UTC
BTW, you can customize the font, forecolor, backcolor of glyph gutter:
Tools/Options/Editing/Editor Settings/Java Editor/FontsColors/Glyph and Line
Number Margin...

Ruda, Jano what's your opinion?
Comment 5 Milan Kubec 2005-08-24 08:26:24 UTC
I see, then it's a bug. See screenshot, it shows that when I inherit font
settings from Default it doesn't work as expected. I tried to uncheck Inherit
and then it works as expected. I think that after this works we can close the
issue, main problem for me was that I wasn't able to change the font.
Comment 6 Milan Kubec 2005-08-24 08:27:09 UTC
Created attachment 24168 [details]
screenshot
Comment 7 Miloslav Metelka 2006-12-05 15:07:26 UTC
The Fonts&Colors was removed from the "Advanced options" view so now only the FG
and BG color can be changed under
Options->Fonts&Colors->Highlighting->LineNumber so this issue becomes valid again.
Comment 8 Jiri Prox 2008-04-11 00:41:30 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 9 Max Sauer 2008-11-28 11:43:34 UTC
Will be resolved LATER>
Comment 10 Quality Engineering 2009-11-02 10:55:09 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX