Doc file once converted to PDF- size gets increased by more that 90 times

Hii,

I have attached MS word doc file. I added image(size 30kb) in every pages and converted into pdf file. Now, the size of pdf file increases to 5.5 MB

Please help me. Its Urgent.

With Regards
Ganesh S Vidharthi
ZOHO Corporation
Member of Technical staff

Hi Ganesh,

Thanks for your inquiry. I have tested the scenario and have not found the shared issue while using latest version of Aspose.Words for Java 14.7.0. Please use the Aspose.Words for Java 14.7.0. I have attached the output Pdf file with this post for your kind reference.

Thanks for your response.

Size issue is solved.

on saving of document i get warning message
"Font ‘Arial’ has not been found. Using ‘Gentium Basic’ font instead."

This warning message comes for almost every time doc converted to pdf.

can u share sample codes??

Hi Ganesh,

Thanks for your inquiry. Please note that Aspose.Words requires TrueType fonts when
rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). Make sure
you have all the Fonts installed on your machine you’re using to convert
Word document to image format. I would suggest you please read the
following articles:
http://www.aspose.com/docs/display/wordsjava/How+Aspose.Words+Uses+True+Type+Fonts
http://www.aspose.com/docs/display/wordsjava/How+to++Specify+True+Type+Fonts+Location