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

PS renderer does not embed fonts-glyphs for characters not present on the first page

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1, 2.5
    • None
    • renderer/ps
    • None

    Description

      Documents with multiple pages cannot be generated safely using embedded fonts because not all character/glyphs are embedded in the document.

      While debugging I discovered that the postscript renderer embeds/writes the font-glyphs after parsing the first page. After parsing/writing any adjacent page the imbedded is not updated (the FontInfo object would reference the additional characters), so any character not present on the first page cannot be displayed properly because the glyphs are not embedded.

      Unfortunately setting EmbeddingMode to FULL did not work as workaround for me.

      regards nik lutz

      Attachments

        1. optimze-resources.txt
          6 kB
          Luc Duchosal Apache
        2. fop.xconf
          0.3 kB
          Luc Duchosal Apache
        3. embeddefontbug1.fo.ps
          281 kB
          Luc Duchosal Apache
        4. embeddefontbug1.fo.pdf
          34 kB
          Luc Duchosal Apache
        5. embeddefontbug1.fo
          1 kB
          Luc Duchosal Apache

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            niklutz Nik Lutz

            Dates

              Created:
              Updated:

              Slack

                Issue deployment