You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/11/21 18:55:36 UTC
[jira] [Issue Comment Deleted] (PDFBOX-1864) Non-embedded fonts not
detected (or are they?)
[ https://issues.apache.org/jira/browse/PDFBOX-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-1864:
------------------------------------
Comment: was deleted
(was: 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)