Details
-
Bug
-
Resolution: Duplicate
-
P3
-
11, 12
Description
ADDITIONAL SYSTEM INFORMATION :
Windows 10 Pro, Vs. 1803
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
A DESCRIPTION OF THE PROBLEM :
See above
REGRESSION : Last worked in version 10.0.2
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the sample code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Current squares are replaced by glyphs.
ACTUAL -
Squares only.
---------- BEGIN SOURCE ----------
// 0905, 096F and 097F are the Devanagari glyphs.
import javax.swing.*;
public class Unicode extends JFrame {
final String TEXT= "Hello \u0905\u096F\u097F\u2611\u2600\u26FF\u2300\u23FF";
public Unicode() {
setSize(360,120);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setTitle(TEXT);
Box box= Box.createVerticalBox();
box.add(new JButton(TEXT));
box.add(new JLabel(TEXT));
box.add(new JTextField(TEXT));
add(box);
setVisible(true);
}
public static void main(String args[]) {
SwingUtilities.invokeLater(Unicode::new);
}
}
---------- END SOURCE ----------
FREQUENCY : always
Windows 10 Pro, Vs. 1803
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
A DESCRIPTION OF THE PROBLEM :
See above
REGRESSION : Last worked in version 10.0.2
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Compile and run the sample code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Current squares are replaced by glyphs.
ACTUAL -
Squares only.
---------- BEGIN SOURCE ----------
// 0905, 096F and 097F are the Devanagari glyphs.
import javax.swing.*;
public class Unicode extends JFrame {
final String TEXT= "Hello \u0905\u096F\u097F\u2611\u2600\u26FF\u2300\u23FF";
public Unicode() {
setSize(360,120);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setTitle(TEXT);
Box box= Box.createVerticalBox();
box.add(new JButton(TEXT));
box.add(new JLabel(TEXT));
box.add(new JTextField(TEXT));
add(box);
setVisible(true);
}
public static void main(String args[]) {
SwingUtilities.invokeLater(Unicode::new);
}
}
---------- END SOURCE ----------
FREQUENCY : always
Attachments
Issue Links
- duplicates
-
JDK-8208179 Devanagari not shown with logical fonts on Windows after removal of Lucida Sans from JDK
-
- Resolved
-