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

Tilman Hausherr commented on PDFBOX-1864:
-----------------------------------------

I improved some error messages, the output is now:
{code}
The fileembedded_fonts.pdf is not valid, error(s) :
1.4.10 : Trailer Syntax error, File contains data after the last %%EOF sequence 
at offset 0
5.2.3 : Forbidden field in an annotation definition, Annotation uses a Color 
profile which isn't the same than the profile contained by the OutputIntent
2.4.1 : Invalid Color space, The operator "rg" can't be used with CMYK Profile
2.4.1 : Invalid Color space, The operator "rg" can't be used with CMYK Profile
3.1.1 : Invalid Font definition, Helvetica: some required fields are missing 
from the Font dictionary: firstChar, lastChar, widths.
3.1.2 : Invalid Font definition, Helvetica: some mandatory fields are missing 
from the FontDescriptor: StemV.
3.1.3 : Invalid Font definition, Helvetica: FontFile entry is missing from 
FontDescriptor
2.4.2 : Invalid Color space, The operator "k" can't be used with RGB Profile
3.1.11 : Invalid Font definition, MKLNYO+AGaramond-Regular: The CIDSet entry is 
missing for the Composite Subset
3.1.11 : Invalid Font definition, KZQVXO+ArialMT: The CIDSet entry is missing 
for the Composite Subset
3.1.9 : Invalid Font definition, ComicSansMS: mandatory CIDToGIDMap missing
3.1.11 : Invalid Font definition, MVXQXO+ComicSansMS: The CIDSet entry is 
missing for the Composite Subset
3.1.11 : Invalid Font definition, OROMXO+Critter: The CIDSet entry is missing 
for the Composite Subset
3.1.11 : Invalid Font definition, YSTRWO+Helvetica: The CIDSet entry is missing 
for the Composite Subset
3.1.11 : Invalid Font definition, UVSOWO+Utopia-Regular: The CIDSet entry is 
missing for the Composite Subset
3.1.11 : Invalid Font definition, WRZZVO+Sanvito-Light: The CIDSet entry is 
missing for the Composite Subset
3.1.9 : Invalid Font definition, Coronet: mandatory CIDToGIDMap missing
3.1.11 : Invalid Font definition, OXXTVO+Coronet: The CIDSet entry is missing 
for the Composite Subset
3.1.9 : Invalid Font definition, Tahoma: mandatory CIDToGIDMap missing
3.1.11 : Invalid Font definition, QTOPVO+Tahoma: The CIDSet entry is missing 
for the Composite Subset
7.1 : Error on MetaData, Expecting namespace 'adobe:ns:meta/' and found 
'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
{code}


> Non-embedded fonts not detected (or are they?)
> ----------------------------------------------
>
>                 Key: PDFBOX-1864
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1864
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>         Environment: Win 7
>            Reporter: Johan van der Knijff
>            Assignee: Tilman Hausherr
>              Labels: font
>             Fix For: 2.0.0
>
>
> The following 2 PDFs use some fonts that are not embedded (at least that's 
> what Acrobat Preflight is telling me):
> http://acroeng.adobe.com/Test_Files/fonts//embedded_fonts.pdf
> http://acroeng.adobe.com/Test_Files/fonts//text_images_pdf1.2.pdf
> Running both files through Preflight I do see some font-related errors, but I 
> don't see any occurrence of error 3.1.3, which is the specific error that I 
> would expect here. Or perhaps this isn't this the unique error code for 
> detecting non-embedded fonts?
> Related side note: in "PreflightConstants.java" the description of 3.1.3 
> reads:
> bq. Error on the "Font File x" in the Font Descriptor
> Which suggests it may be more generic than non-embedded fonts alone. But 
> maybe this is not the case? (For myself I've only seen this error with an 
> associated message like "Invalid Font definition, FontFile entry is missing 
> from FontDescriptor for TimesNewRomanPSMT".)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to