Hello Aspose Team,
We have been usign the following lines of code,
if(null==pdf){
pdf = new Pdf();
}
if(null==pageSetUp){
pageSetUp = new PageSetup();
pageSetUp.setPageWidth(PDFGenConstants.pageWidth);
pageSetUp.setPageHeight(PDFGenConstants.pageHeight);
}
for(int i=1;i<=totalPage;i++){
pdf.getSections().add().setPageInfo(pageSetUp);
}
pdf.save(tempPdfFileName);
When the control comes to the line pdf.save we are gettign the following exception,
Font source could not be opened: /usr/X11R6/lib/X11/fonts/truetype/msttcorefonts/
It was working when we deployed our EAR in windows machine.
But when move to a sever environment in Linux we are getting this exception. Please get this issue resolved.
We have got with a show stopper issue due to this, as pdf could not be generated.
Thanks,
Ashok
We have been usign the following lines of code,
if(null==pdf){
pdf = new Pdf();
}
if(null==pageSetUp){
pageSetUp = new PageSetup();
pageSetUp.setPageWidth(PDFGenConstants.pageWidth);
pageSetUp.setPageHeight(PDFGenConstants.pageHeight);
}
for(int i=1;i<=totalPage;i++){
pdf.getSections().add().setPageInfo(pageSetUp);
}
pdf.save(tempPdfFileName);
When the control comes to the line pdf.save we are gettign the following exception,
Font source could not be opened: /usr/X11R6/lib/X11/fonts/truetype/msttcorefonts/
It was working when we deployed our EAR in windows machine.
But when move to a sever environment in Linux we are getting this exception. Please get this issue resolved.
We have got with a show stopper issue due to this, as pdf could not be generated.
Thanks,
Ashok