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

    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. embeddefontbug1.fo
          1 kB
          Luc Duchosal Apache
        2. embeddefontbug1.fo.pdf
          34 kB
          Luc Duchosal Apache
        3. embeddefontbug1.fo.ps
          281 kB
          Luc Duchosal Apache
        4. fop.xconf
          0.3 kB
          Luc Duchosal Apache
        5. optimze-resources.txt
          6 kB
          Luc Duchosal Apache

        Activity

          People

            Unassigned Unassigned
            niklutz Nik Lutz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: