I'm guessing the omission of the starting <fonts> tag was a mistake when writing your message? If so do you get any messages going to the standard output? Usually something like “Font not found ‘<font>’, Substituting with …”. How are you referencing the font from your FO file?
Robert From: Fabrice MAUPIN Sent: Friday, 3 April 2015 11:01 To: [email protected] Hello everybody, I use the FOP engine to generate PDF File in my JavaFX program, ok. This is my FOP configuration file : <?xml version="1.0" encoding="UTF-8"?> <fop version="1.0"> <renderers> <renderer mime="application/pdf"> <auto-detect /> </fonts> </renderer> </renderers> </fop> For information I use the Calibri Font (a system Font) to generate the PDF File. When I execute my program with Eclipse, no problem the PDF file is correctly generated and the Calibri Font is embedded into this file. I build and package my program : what generates one executable application. When I execute my application, there is a problem : the PDF file is generated but the Calibri Font is not embedded into this file ! Any ideas ? Thank you in advance. Regards, Fabrice L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. www.avast.com
