[
https://issues.apache.org/jira/browse/PDFBOX-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221158#comment-14221158
]
Tilman Hausherr commented on PDFBOX-1864:
-----------------------------------------
I researched what's happening in the code with the second file: in
FontDescriptorHelper.validate(), when checkMandatoryFields() fails, the rest is
skipped. I'm enabling this, so that the error messages are more complete. I'm
also adjusting the error texts. I think you'll like it :-)
> 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
> 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)