Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Error Displaying PDF with TrueType Font

$
0
0

Dear All,

 

We have a scenario in PI:

HTTP (Sender) -Base64Encoded PDF in a XML message -> SAP PI -Base64Decode the data and generate PDF file-> Create PDF File in Folder

 

I am able to create PDF file using a JAVA mapping. The scenario works fine for most of the cases; however it fails for one of the data which is in TrueType Font. Did some search and found that there is a issue with TrueType fonts (may not be valid in my case...cant confirm).Error1.jpg

Error2.jpg

Properties of document in error:

Doc_Properties.jpg

Properties of document in Success:

Doc_Properties_Success.jpg

 

Any idea on how the above issue can be resolved in the JAVA mapping so that any pdf document opens properly?

When decoded using online converter the file is generating properly so there is no issue with the data neither with the fonts on my laptop.

 

Thanks,

Abhishek.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>