Mark Gibson  created FOP-3369:
---------------------------------

             Summary: Garbled fonts with Merge Fonts when injecting PDF
                 Key: FOP-3369
                 URL: https://issues.apache.org/jira/browse/FOP-3369
             Project: FOP
          Issue Type: Bug
            Reporter: Mark Gibson 
         Attachments: fop.zip

We recently found an issue with garbled text when importing a PDF image and 
"merge fonts" selected.

I've included a zip of a small reproduction.  Inside the ZIP can be found:
 * *sample.fo* - the FO that imports the pdf as an image
 * *pdfImage.pdf* - the pdf to be imported, containing a text table
 * *fopMergeFontsFalse.xconf* - xconf for not merging fonts
 * *fopMergeFontsTrue.xconf* - xconf for merging fonts
 * *fopCommands.txt* - text file with the two commands, one for merge, one for 
non-merge
 * *pdfMergeFontsFalse.pdf* - the output of the fop render without merging 
fonts, output ok
 * *pdfMergeFontsTrue.pdf* - the output of the fop render merging fonts, text 
output garbled.

It feels like the glyphs are incorrect in the embedded merged font.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to