[ https://issues.apache.org/jira/browse/PDFBOX-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669458#comment-13669458 ]
Andreas Lehmkühler commented on PDFBOX-1615: -------------------------------------------- PDFBOX-1437 introduced the regression. The written COSString uses UTF-16 instead of a simple hex string for the lookup table (see COSString#getString) > Color map not correctly copied when PDF file is split > ----------------------------------------------------- > > Key: PDFBOX-1615 > URL: https://issues.apache.org/jira/browse/PDFBOX-1615 > Project: PDFBox > Issue Type: Bug > Components: PDModel, Utilities > Affects Versions: 1.8.1 > Environment: Windows 7, 64-bit JVM 1.6.0_29 > Reporter: Tom Taylor > Attachments: media-0.pdf, media-1.pdf, media-2.pdf, media-3.pdf, > media-4.pdf, media.pdf > > > A customer has a pdf file which we split (pdfbox.util.Splitter) for inclusion > in a document. When I split the file using the PDFSplit tool, the same > problem occurs. > On some pages, the color map appears to be altered such that background and > text are rendered in different colors (yellow/lilac instead of > white/blackish). The PDF the customer supplies is probably a scanned document > but the metadata claims it is created using PDF-XChange Viewer 2.5.195.0. > The odd thing is that only a subset of pages are affected in a consistent > fashion. > I can supply the original PDF file on request for you to look at. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira