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

fontpath.c is not multibyte-safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • 2d
    • beta
    • x86
    • windows_95

      /local/ws/merlin/src/win32/native/sun/awt/font/fontpath.c uses NewStringUTF
      to convert from bytes to characters. While this conversion works for low-ASCII
      characters, it will fail for high-ASCII and multibyte encodings. For example,
      if the default font path in the registry includes katakana characters, the
      code will not work.

            jgodinez Jennifer Godinez (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: