Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212224

Devanagari glyphs (900-97F) do not show in jdk-11

    XMLWordPrintable

Details

    • 2d
    • 11
    • x86_64
    • windows_10

    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


      Attachments

        1. 10.0.2-output.PNG
          10.0.2-output.PNG
          10 kB
        2. 11-output.PNG
          11-output.PNG
          10 kB
        3. Unicode.java
          0.6 kB

        Issue Links

          Activity

            People

              prr Philip Race
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: