voyent
Render page in image issue with unembedded fonts  XML
Forum Index -> ICEpdf General
Author Message
blacklord049

Joined: 31/Jan/2018 23:07:13
Messages: 6
Offline


Hi,

I'm using IcePDF 6.2.5 community edition (cannot use 6.3 because our server is running a JDK 1.7 server). The issue I'm talking about occurs with IcePDF 6.1.3.

I'm trying to convert the following PDF :



I just open the document by setting the byte array, and use the getPageImage() to store in a BufferedImage. The result is written to the client with

Code:
ImageIO.write(img, "pdf", baos)
 request.setAttribute(FilesUtils.REQUEST_IMAGE, baos.toByteArray()

I get the following result :



PDF properties say that the document is using Verdana and Verdana bold fonts, but these fonts are not embedded in the document. The issue occurs on a local Windows system (tesing in local with IBM WAS 8.5) and also on a production server (also IBM WAS 8.5).

According to our policy I can't send you the entire PDF.

Some properties :

- PDF version : 1.4
- Format : 279,4 x 215,9 mm
- Fonts : ArialMT CID (embedded, which is correcty displayed), Helvetica, Verdana Type 3, Verdana-Bold Type 3.

How to fix this ?
patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1974
Offline


The OS version can not read embedded fonts that are CID encoded and sometimes the PDF does not include a toUnicode mapping which makes is pretty much impossible to figure out which characters to show without the encoding font.

Have you tried the 6.2.5 Pro trial version?
[Email]
blacklord049

Joined: 31/Jan/2018 23:07:13
Messages: 6
Offline


Nope, I'll consider it
 
Forum Index -> ICEpdf General
Go to:   
Powered by JForum 2.1.7ice © JForum Team