I'm using docx4j 3.0.0 with Word 2010 and trying to convert a document to pdf using the following sample code, ConvertPDF
public boolean convert(WordprocessingMLPackage wMLP) throws Docx4JException {
// Font regex (optional)
// Set regex if you want to restrict to some defined subset of fonts
// Here we have to do this before calling createContent,
// since that discovers fonts
// String regex = null;
// Windows:
String regex = ".*(calibri|cour|arial|times|comic|georgia|impact|LSANS|pala|tahoma|trebuc|verdana|symbol|webdings|wingding).*";
PhysicalFonts.setRegex(regex);
// ...