[Text] TextArea cannot handle Chinese space character properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u20
    • Affects Version/s: 8
    • Component/s: javafx
    • None
    • Environment:

      Window XP (32bit)
      java version "1.8.0"
      Java(TM) SE Runtime Environment (build 1.8.0-b129)
      Java HotSpot(TM) Client VM (build 25.0-b69, mixed mode)

      Chinese paragraph usually start with 2 spaces.
      it should display like this:
      ------------
        測試測試測試測試測試測試測試測試。1st line
        測試測試測試測試測試測試測試測試。2nd line
      ------------



      When TextArea wrapping=true, it handles chinese space like english space.
      The starting 2 spaces display in 1st line, and the later chinese text display in 2nd line as follow:
      ------------
        
      測試測試測試測試測試測試測試測試。1st line
        
      測試測試測試測試測試測試測試測試。2nd line
      ------------

            Assignee:
            Felipe Heidrich (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: