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

Creation of CustomFontMetricsMapper using File instead InputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The constructor of CustomFontMetricMapper creates an instance of java.awt.Font using an InputStream. This led to the creation of a temp file with the content of the stream. This is repeated for every renderer for every rendering.

      Passing a file would avoid the creation of such a temp file reducing the overall rendering time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rondelli Simone Rondelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: