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

Cursor misplaced after DBCS char that uses odd size font

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 2.1_fcs, 1.1.6
    • client-libs
    • 2d
    • 1.2beta4
    • generic, x86
    • generic, windows_nt
    • Not verified



      Name: diC59631 Date: 04/13/98


      1. Create an app with a data-entry component:
         AWT TextField or Swing JTextField
      2. Set the component font size to any odd number.
      3. Type in Japanese text (double byte chars)
      4. Press Home, then End
      Expected:cursor placed after the last char
      Actual: cursor jumps far to the right
               (1 or 2 pixels per char offset)

      Notes:
      NT/J only, double-byte chars only
      Even font sizes look OK
      Non Java apps on NT/J look OK
      Old bug (at least since 1.1.2)
      (Review ID: 28176)
      ======================================================================

            pcharltosunw Paul Charlton (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: