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 235157 - I18N: Japanese characters become rectangles because of setting tahoma/italic
Summary: I18N: Japanese characters become rectangles because of setting tahoma/italic
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 10:46 UTC by Masaki Katakai
Modified: 2013-09-01 01:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot on (15.19 KB, image/png)
2013-08-28 10:46 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2013-08-28 10:46:37 UTC
Created attachment 139355 [details]
screenshot on

Product Version: NetBeans IDE Dev (Build 201308270001)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b17


Please refer to the screenshot. On "Choose JavaFX Application Class" dialog,
Japanese characters become rectangles because of setting hardcoded ascii
fonts or setting to ITALIC.

Please do not use any ascii fonts or ITALIC because the font availability
may depend on language and platform (e.g. linux).

./src/org/netbeans/modules/javafx2/project/ui/JSEApplicationClassChooser.java:        labelMessage.setFont(new java.awt.Font("Tahoma", 2, 11)); // NOI18N
./src/org/netbeans/modules/javafx2/project/ui/JSEApplicationClassChooser.form:          <Font name="Tahoma" size="11" style="2"/>


./src/org/netbeans/modules/javafx2/project/ui/JFXApplicationClassChooser.java:        labelScanning.setFont(labelScanning.getFont().deriveFont((labelScanning.getFont().getStyle() | java.awt.Font.ITALIC), labelScanning.getFont().getSize()+1));
./src/org/netbeans/modules/javafx2/project/ui/JFXApplicationClassChooser.form:            <Font component="labelScanning" italic="true" property="font" relativeSize="true" size="1"/>
./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java:                //Font emphfont = basefont != null ? basefont.deriveFont(Font.ITALIC) : null;
./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java:            label.setFont(basefont.deriveFont(Font.ITALIC));
./src/org/netbeans/modules/javafx2/project/ui/JFXRunPanel.java:        //final Font emphfont = basefont.deriveFont(Font.ITALIC);
Comment 1 Roman Svitanic 2013-08-30 09:02:27 UTC
fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/939767f25f28
Comment 2 Quality Engineering 2013-09-01 01:24:26 UTC
Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/939767f25f28
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #235157 - I18N: Japanese characters become rectangles because of setting tahoma/italic