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 109198

Summary: I18N - description area of options - java - hints is smaller font
Product: java Reporter: Ken Frank <kfrank>
Component: HintsAssignee: Petr Hrebejk <phrebejk>
Status: VERIFIED FIXED    
Severity: blocker CC: saubrecht
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Ken Frank 2007-07-10 05:32:42 UTC
on options->java code -> hints, is a description section at bottom.

the description word is in a smaller font.

Normally this would be ok, but for unix, the chinese fonts at smaller than 14pt are not as ok a quality,
and that is why localized zh ide hardcodes global font size to 14.

But having a font smaller than that means the font wont be seen as well.

It might be ok since this is just a few words in a window, but since we have had issues on this kind of situation
before in other parts of ide,  wanted to note it in an issue.
Comment 1 Jan Lahoda 2007-07-10 16:36:49 UTC
So this is only about the "Description:" label, and possibly about "Show As:" label? Standa, would you know how to make
it use "standard" font? Thanks.
Comment 2 Stanislav Aubrecht 2007-07-11 16:05:22 UTC
both labels use the default font, the description text area had hard coded font value which i fixed.

however the description area displays html which for some reason uses some css formating with hard coded font settings.
that among other things means that it doesn't respect --fontsize settings at command line. reassigning back to java team
for evaluation.

/cvs/java/hints/src/org/netbeans/modules/java/hints/options/HintsPanel.java,v  <--  HintsPanel.java
new revision: 1.10; previous revision: 1.9
Comment 3 Petr Hrebejk 2007-09-11 14:09:17 UTC
The CSS has been removed

Checking in HintsPanelLogic.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/options/HintsPanelLogic.java,v  <--  HintsPanelLogic.java
new revision: 1.10; previous revision: 1.9
done
Comment 4 Ken Frank 2007-09-29 03:31:43 UTC
verifying

the few hints with some code, maybe that is the html referred to below - is smaller
but its ok since is code and in english, not translated.

ken.frank@sun.com