I am using the pdf plugin to generate pdf output from a form:
forms.Print_PDF.controller.show()
var success = plugins.pdf_output.startMetaPrintJob();
if (success){
forms.Print_PDF.controller.print(true,false,plugins.pdf_output.getPDFPrinter());
}
var thePDF = plugins.pdf_output.endMetaPrintJob();
rw_final_report=thePDF
globals.thePDF='rw_final_report';
forms.main.controller.show();
Servoy’s built in pdf plugin seems to convert the output to a PDF which doesnt render the fonts properly. They all come out in a Arial type of font rather than reflecting the time font that shows on the screen.
When i print this screen it seems to print fine and when i use create pdf on the mac print screen it renders the fonts fine.
Could this be the printer driver it selects? is it a basic java one or something that doesnt not render times fonts?
Is there a way of making it pick a better printer driver or is something that the plugin simply is not advanced enough to do?
Does anyone have any experience of this.
David