PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
In some output formats, you can set the preferred font name to unify the default font style in the output document.
The fontName option currently applies to the following formats:
The following example demonstrates how to set the preferred font name for the output document.
WordOptions opt = new WordOptions();
opt.setFontName("Arial");
CPDFConversion.startPDFToWord("word.pdf", "password", "path/output.docx", opt);