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

Horizontal space needed for a text block is always too large

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 0.92
    • None
    • renderer/awt
    • None
    • Operating System: Windows XP
      Platform: Other
    • 40634

    Description

      Render any text using defaults in the awt and switch debug mode on. Unwanted
      blank space is systematicaly found on the right side of the text block. This
      causes problems when using inlines because unwanted space is found between the
      end of the "uninlined" text and the start of the "inlined" text.

      For example:
      <block>Normal text having no problem but<inline> abnormal space is to be found
      between "but" and "abnormal"</inline></block>

      Another nagging manifestation of this bug is found in "end aligned" blocks. One
      would expect to have the rightmost character of the "end aligned" block to be
      just at the left of the rightmost limit of the block but again, an unwanted
      space appears at the right of the block causing the text to end at the left of
      where it should.

      This problem is not present if rendering PDF but it is when rendering with -awt
      -print or -tiff options.

      Attachments

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            ziggy99ziggy99@hotmail.com Ziggy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: