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.
Analysis of source code of current product shows some some calls to setFont that hardcode a certain font size that isn't relative to global font size. Usually, fonts are obtained from the global font size value of the product. But sometimes specific font sizes are wanted, and if so, they should be assigned based on a relative offset from the default font size instead of as a specific size. This is because the localized products will soon be able to set the default font size needed for proper appearance of their character sets, and hardcoded fonts may be too small for meeting those requirements. If there are other parts of code where hardcoded font siz e might be set other than setFont, can you also review it? If the code shown below is not part of product,please close issue. Issue marked with FONTSIZE keyword which means it will not be placed on dashboards for 3.5 or nevada as needing waiving but fixes still need to be for the ML release of 3.5/Nevada. Also will mark as blocking 33246, general task on resizing of windows, which deals also with font size setting. Specific calls to setFont seen in source code: this.setFont (new java.awt.Font ("Dialog", 0, 11));
web/taglibed/src/org/netbeans/modules/web/taglibed/view/MultiLineLabel.java: this.setFont (new java.awt.Font ("Dialog", 0, 11)); // NOI18N
Created attachment 10529 [details] diff of the patch which solves this issue
fixed in main trunk. cvs output: Checking in /cvs/web/taglibed/src/org/netbeans/modules/web/taglibed/view/MultiLineLabel.java,v <-- MultiLineLabel.java new revision: 1.2; previous revision: 1.1
if verification should be in actual ide, can you tell us specific window that relates to code that was fixed ? ken.frank@sun.com
integrated in S1S5 ML (tag release35) IN=13764
still waiting for information of where exactly in ide this can be verfied. ken.frank@sun.com
Verified. Issue is marked as FIXED for 5 years and the attached diff patch shows that the code was modified so that absolute font size is not used in MultiLineLabel component ("public class MultiLineLabel extends javax.swing.JTextArea"). Anyway, the code looks probably much different these days:)...