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

AWT produces different layout than PDF renderer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Incomplete
    • 0.20.5
    • None
    • renderer/awt
    • None
    • Operating System: Windows XP
      Platform: PC
    • 27152

    Description

      Layout from AWT Renderer differs considerably from PDF renderer:
      letter spacing is different, line heights are different.

      As I understand it, the AWT renderer retrieves font metrics from java.awt.Font.
      The PDF renderer uses metrics files that were generated with TTFReader (from the
      very same TrueType fonts).

      I expect that both methods produce the same result, but they don't !?

      It should be possible to use EXACTLY the same metrics info for the AWT Renderer.

      Attachments

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            nightrider Peter Schäfer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: