[ 
https://issues.apache.org/jira/browse/PDFBOX-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539600#comment-13539600
 ] 

Andreas Lehmkühler commented on PDFBOX-1480:
--------------------------------------------

I'm not sure if I got your point. Both pdfs are rendered fine using the PDFBox 
1.7.1. There is one interesting detail. Most of text uses a DeviceRGB 
colorspace, but the spaces (color.pdf), the comma (Test4) and the space at the 
end (Test4) use a DeviceGrey colorspace.
You may wanna use the PDFDebugger [1] provided with PDFBox to check this 
yourself.

[1] http://pdfbox.apache.org/commandlineutilities/PDFDebugger.html
                
> PDFBox treats some DeviceRGB pdfs as DeviceGRAY
> -----------------------------------------------
>
>                 Key: PDFBOX-1480
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1480
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>            Reporter: Greg Werner
>         Attachments: color.pdf, Test4.pdf
>
>
> Some PDF files are correctly processed by PDFBox as DeviceRGB and the font 
> color can be retrieved.  Other DeviceRGB files that can be viewed by Acrobat 
> Reader as fonts with various colors are treated as DeviceGray by PDFBox.  An 
> example of creating such a file which is listed as DeviceGray is with Word 
> 2010 and then saving as using the MinimumSize option.  An example of creating 
> a file which is recognized by PDFBox is to save Standard.  I believe either 
> case should be recognized as DeviceRGB

--
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

Reply via email to