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

[PATCH] Moved unique font name prefixing to PDFFactory and added test

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: font/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      51759

      Description

      In PDFs, a subset font is required to have a unique tag prefixing its name, as specified in the PDF spec. Currently this is implemented in o.a.f.fonts/MultiByteFont.java, however, there requires a synchronized iterator for multi-threading reasons.

      This has been moved to PDFFactory to remove the synchronization issues, also, it's a PDF-only mechanism, not required elsewhere.

        Attachments

        1. font.patch
          12 kB
          Mehdi Houshmand

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              med1985@gmail.com Mehdi Houshmand
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: