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

Eric Leleu commented on PDFBOX-1449:
------------------------------------

Hi,

The error on missing font isn't returned due to the "Color space" errors.

the fonts like Arial are well detect as "not embedded" in the Resource 
dictionary, however this error must be returned only if the font is used in a 
TextOperator. (ex : Tj )
In each page content, the "color space" error occurs before the first 
processing of a TextOperator and this "Color Space" error stops the content 
processing.
So because the TextOperator isn't checked, the font error isn't pushed in the 
final list of error.

Hope I'm clear in my explanation... :) 

I will search a way to continue the PageContent processing in order to return 
as much errors as possible.

BR,
Eric
                
> Preflight doesn't report on non-embedded font
> ---------------------------------------------
>
>                 Key: PDFBOX-1449
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1449
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.8.0
>         Environment: Windows XP Professional, 5.1.2.2600 SP 3 Build 2600
>            Reporter: Johan van der Knijff
>            Assignee: Eric Leleu
>             Fix For: 1.8.0
>
>
> See the following file:
> http://dl.dropbox.com/u/9523497/test_noembeddedfonts.pdf
> This PDF uses (TrueType) fonts that are not embedded (Arial). However, 
> Preflight does not report on this! (As a double-check I also analysed the 
> file with Acrobat 9's Preflight module, which correctly identifies the 
> problem.) 
> Additional info: I used build #562 (14-Nov-2012 23:05:44), 
> preflight-1.8.0-20121114.230701-58-jar-with-dependencies.jar from the command 
> line. (Strangely the all-in jar of the more recent build #563 doesn't seem to 
> work at all on my system, but that's another story.)

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