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 146866 - don't use setFont
Summary: don't use setFont
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Egor Ushakov
URL:
Keywords:
: 142119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-11 00:13 UTC by Thomas Preisler
Modified: 2009-06-25 10:59 UTC (History)
0 users

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 Thomas Preisler 2008-09-11 00:13:28 UTC
The following call to setFont looks like a violation of A11Y:

cnd.debugger.gdb/src/org/netbeans/modules/cnd/debugger/gdb/ui/MemoryViewTopComponent.java:        taResult.setFont(new java.awt.Font("Monospaced", 
0, 16)); // NOI18N

If you run NB with --font <whatever>, fonts throughout NB should resize according to set font size.

Please check other calls to New Font or setFont...
Comment 1 Egor Ushakov 2008-09-12 11:03:58 UTC
I will create a new font category in options for it
Comment 2 Egor Ushakov 2008-09-12 16:20:20 UTC
"Monospaced" font name should be mapped correctly,
font size fixed in the changeset:
http://hg.netbeans.org/main/rev/1d6ad63f9c1c
Comment 3 Egor Ushakov 2008-12-01 16:01:12 UTC
*** Issue 142119 has been marked as a duplicate of this issue. ***