Font Exception while accessing pdf converted from word
Posted: Thu Mar 13, 2008 4:55 pm
Hi Experts,
I am here to raise a query that i succeeded in converting the word document to pdf using open office api from java, but now the problems remains as FontException while I viewing the pdf using acrobat viewer bean. It is alerting with Unrecognized Font Exception.
I researched on it and found PDF document won't support Arial or Times New Roman. But you know when I convert the same word document by reading using apache poi and writing using itext api it is registering font and able to view using the acrobat viewer bean. So I am concluding that openoffice api is not registering fonts such as Arial and Times New Roman which are not at all supported with the bare pdf docuemnt.
Can any expert revert back with a solution for this like before conversion how can we register fonts through open office api.
Thanking you
Charles v c
I am here to raise a query that i succeeded in converting the word document to pdf using open office api from java, but now the problems remains as FontException while I viewing the pdf using acrobat viewer bean. It is alerting with Unrecognized Font Exception.
I researched on it and found PDF document won't support Arial or Times New Roman. But you know when I convert the same word document by reading using apache poi and writing using itext api it is registering font and able to view using the acrobat viewer bean. So I am concluding that openoffice api is not registering fonts such as Arial and Times New Roman which are not at all supported with the bare pdf docuemnt.
Can any expert revert back with a solution for this like before conversion how can we register fonts through open office api.
Thanking you
Charles v c