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

Hebrew font.properties file can be improved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.1
    • 1.2.0
    • client-libs
    • None
    • 2d
    • 1.2.1
    • x86
    • windows_nt
    • Verified

      The following message from ###@###.### points out some issues with the Hebrew font.properties file:

      Concerning the test, I did it on system with Windows NT 4.0 Hebrew
      Enabled.

      The Good:
         I tested all of three java applications you sent me and for
         all of them all Hebrew characters were displayed correctly.
         It seams like Hebrew works correctly for all AWT controls and
         for 2D's drawString() and TextLayout.draw() functions.

      The Bad:
         1. The file font.properties.iw from JDK1.2 package has
            the same "David" font for all HEBREW_CHARSETs.
            I think it should be changed to different fonts like:
               dialog.1=Arial,HEBREW_CHARSET,NEED_CONVERTED
               dialoginput.1=Courier New,HEBREW_CHARSET,NEED_CONVERTED
               serif.1=David,HEBREW_CHARSET,NEED_CONVERTED
               sansserif.1=Times New Roman,HEBREW_CHARSET,NEED_CONVERTED
               monospaced.1=Miriam Fixed,HEBREW_CHARSET,NEED_CONVERTED

         2. When running any of three java examples I got very strange
            output messages:
                Font specified in font.properties not found [Courier New]
                Font specified in font.properties not found [Arial]
                Font specified in font.properties not found [Arial]
                Font specified in font.properties not found [Times New Roman]
                Font specified in font.properties not found [Courier New]

            It looks like exception messages, but I couldn't catch any
            exception. Moreover I couldn't find this message in sources
            of JDK1.2. Could you please explain me where did I get it from ?

           Actually these error messages related to the fonts, that are used
           for ANSI_CHARSET definitions in the file font.properties.iw.
           They don't seem to reflect a real problem.

            khongsunw Karl Hong (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: