Available fonts can't be got properly except Java-defined fonts on Windows ja.

XMLWordPrintable

    • x86
    • windows_nt


      Tested with jdk1.4 beta_40 on Windows NT and 2000 Japanese.

      All available fonts can not be got properly by the methods below;

      GraphicsEnvironment.getAllFonts()
      GraphicsEnvironment.getAvailableFontFamilyNames()

      Only Fonts defined in JAVA can be got.

      To reproduce,

      For GraphicsEnvironment.getAllFonts();
      1. Compile an attached program, GraphicsDeviceTest.java
      2. Excute GraphicsDeviceTest on Windows Japanese.
      Then, you can see the fonts except java-defined fonts are not displayed properly in the List.

      For GraphicsEnvironment.getAvailableFontFamilyNames();
      1. Excute Font2DTest under $JAVAHOME/jdk1.4/demo/jfc/Font2DTest/ on Windows Japanese.
      java -jar Font2DTest.jar
      2. See Font list.
      Then, you can see font family name except java-defined fonts can not be displayed properly in the list.



      This is not reproduced in build 42.

      miki.tokunaga@japan 2000-11-29

            Assignee:
            Unassigned
            Reporter:
            Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: