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.
[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.
Created attachment 24147 [details] screenshot
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)."
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.
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?
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.
Created attachment 24168 [details] screenshot
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.
moving opened issues from TM <= 6.1 to TM=Dev
Will be resolved LATER>
NetBeans.org Migration: changing resolution from LATER to WONTFIX