Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1141

white-space incorrectly handled after linefeed

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 0.91
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • External issue ID:
      38457

      Description

      Not sure if it is supposed to be or I was using it wrong. The PDF generated
      from following snippet shows no line breaks between the lines, so all text
      within the block is wrapped up in one line.

      Please instruct. Thank you very much.

      <fo:block font-family="monospace" white-space="pre" >
      public class Sample
      {
      public static void main(String [] args)

      { System.out.println("Hello, World!"); }

      }
      </fo:block>

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              lihao li hao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: