[ 
https://issues.apache.org/jira/browse/PDFBOX-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Hewson updated PDFBOX-1895:
--------------------------------

    Description: 
When re-writing a document with font descriptions, Adobe Reader is unable to 
display the fonts in the document.  Reader can display the fonts in the 
original document. The difference is that in the original document, the font 
descriptions are in lower object numbers than the font references; in the 
output document, the font descriptions are in higher object numbers than the 
font references.  Is there a quick way to re-order them?

Update: the PDF file in question is actually corrupt, but somehow modifying it 
with PDFBox causes it to no longer be readable with Adobe Reader.

  was:When re-writing a document with font descriptions, Adobe Reader is unable 
to display the fonts in the document.  Reader can display the fonts in the 
original document. The difference is that in the original document, the font 
descriptions are in lower object numbers than the font references; in the 
output document, the font descriptions are in higher object numbers than the 
font references.  Is there a quick way to re-order them?


> Font definitions must precede font references
> ---------------------------------------------
>
>                 Key: PDFBOX-1895
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1895
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Writing
>    Affects Versions: 1.8.3, 1.8.4
>            Reporter: Pat Hickey
>
> When re-writing a document with font descriptions, Adobe Reader is unable to 
> display the fonts in the document.  Reader can display the fonts in the 
> original document. The difference is that in the original document, the font 
> descriptions are in lower object numbers than the font references; in the 
> output document, the font descriptions are in higher object numbers than the 
> font references.  Is there a quick way to re-order them?
> Update: the PDF file in question is actually corrupt, but somehow modifying 
> it with PDFBox causes it to no longer be readable with Adobe Reader.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to