Blank And Empty Line Of Text Are Rendered Differently

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: javafx
    • None
    • Environment:

      Ubuntu 8.0.4 AMD64, sun-java6 update 12,JavaFX SDK 1.1.0

      The following two Text are rendered differently:
      The first Text contrains some empty lines, but all these lines are not rendered.
      The second Text contrains some blank but not empty lines, all these empty lines(except the first line) are rendered.

      See http://javafx-jira.kenai.com/browse/RT-3550

      Scene {
         content: [
            Text {
               content: "\t \nLine one\nLine two\n\n\n\n\nLine three\nLine four\n\n\n\n"
            }
         ]
      }

      Scene {
         content: [
            Text {
               content: "\t \nLine one\nLine two\n \n \n \n \nLine three\nLine four\n \n \n \n"
            }
         ]
      }

            Assignee:
            Naoto Sato
            Reporter:
            goodsforyou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: