pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkuehler <andr...@lehmi.de>
Subject Re: Font Issue while parsing PDF through PDF Box API .
Date Mon, 29 Oct 2018 06:50:58 GMT
Am 29.10.18 um 07:30 schrieb Rajo Singh:
> Hi Team,
> 
> While parsing one of PDF file it is showing some error of font.
> Attaching you the PDF file for your reference.
Your attachment didn't coome through due to security reasons. But it was 
available in the moderation queue.

The pdf doesn't include all fonts which is always a bad idea especially if non 
latin fonts are used. At least on my machine PDFBox wasn't able to substitute 
the missing fonts with suitable ones.
Saying that, the best solution is to include all used fonts into the pdf.

> 
> I am using this POM dependency for font and API. Please provide us  the solution 
> so that we can use this to parse.
> 
> <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
> <dependency>
> <groupId>org.apache.pdfbox</groupId>
> <artifactId>pdfbox</artifactId>
> <!-- <version>1.2.1</version> -->
> <version>2.0.8</version>
> </dependency>
> <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/fontbox -->
> <dependency>
> <groupId>org.apache.pdfbox</groupId>
> <artifactId>fontbox</artifactId>
> <version>2.0.8</version>
> </dependency>
You should upgrade to a more recent version, like 2.0.12, but this won't help 
with your issue.

Andreas
> -- 
> Thanks
> Rajo Singh.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: dev-help@pdfbox.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message