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 16919 - Font size is hard coded in source editor
Summary: Font size is hard coded in source editor
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2001-10-24 19:04 UTC by Chary Kanaparthi
Modified: 2011-11-23 16:21 UTC (History)
2 users (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 Chary Kanaparthi 2001-10-24 19:04:39 UTC
Run IDE  with bigger font size  as following :

1. runide.sh -fontsize 18
2. mount filesystem
3. open source editor for a class.

fontsize remains unchanged, hard coded fontsizes have to be removed.  This is
not accessible
Comment 1 Jan Lahoda 2001-10-25 09:35:04 UTC
I would like to ask: 
There are not hardcoded font sizes in editor. These could be changed
by user without problems. Is necessary for accessibility to change
fontsize when it is specified on command line, or is acceptable user
can change it later? And, is possible to find out whether user
specified it on command line?
Comment 2 Jiri Mzourek 2001-10-30 14:08:19 UTC
I agree with Jan, this is not a bug, user always can customize editor
fonts & colors in editor options. 
Requested behavior will be possible implement in NetBeans 4.0 (because
of sessions), changing to "Enhancement".
Comment 3 Jan Chalupa 2001-11-27 17:08:28 UTC
Target milestone -> 3.3.1.
Comment 4 Marek Grummich 2002-07-22 11:49:37 UTC
Set target milestone to TBD
Comment 5 Marek Grummich 2002-07-22 11:53:08 UTC
Set target milestone to TBD
Comment 6 Jaromir Uhrik 2010-10-27 13:36:31 UTC
This is still valid. It is true that users can change the editor font in Tools|Options but IMHO if the "--fontsize" parameter passes fontsize via command line then such a font size should propagate to editor the same way as in other components.
Comment 7 Miloslav Metelka 2011-10-06 12:03:57 UTC
Mito, could you please take care of this? Thanks.
Comment 8 Milutin Kristofic 2011-10-27 11:31:57 UTC
In fresh netbeans user dir, parameter --fontsize will propagate. However when you once changed font-size in options, it has a higher priority than --fontsize. 

It should be changed.
Comment 9 Milutin Kristofic 2011-11-23 16:21:20 UTC
In current version (7.1) there is no hard coded font size. These are priorities from up (highest priority) to down 

font size defined in editor/options
font size from --fontsize
font size = 13

That means, if you changed editor/options then --fontsize will not change font size. However, if you never changed editor/options then --fontsize if it is sent as parameter will change size.

That is also expected behavior.