In version v2019R1, we’ve added a public API in our Java PDF Library jPDFProcess to tell whether a font is embedded in a PDF document or not. This is done through a method called isEmbedded in the IFontResource interface, that returns a boolean. The sample code below will get the list of all font resources […]
Articles Tagged: Fonts
Setting a fallback font when converting Word to PDF with jOfficeConvert
When converting a Word document to PDF using Qoppa’s PDF library jOfficeConvert, sometimes a font specified in the Word document may not be available on the machine. See our matching logic to identify a matching font. jOfficeConvert will then use the fallback font if one was set. Fallback Font Error You will see an error […]
Extract Images from PDF Document using Java
Q: How can I export all the images contained in a PDF document? A: Here is a sample Java code to list all images embedded in a PDF document and save / export them using Qoppa’s jPDFProcess library. This example shows how to save the images in png format but it can simply be changed […]
List Resource Fonts in a PDF document
Q: How can I list all the resource fonts in a PDF document? A: Here is a sample Java code to list all fonts referenced in a PDF document using Qoppa’s jPDFProcess library. Some fonts may only be referenced by name and other fonts may be embedded in the document. In version v2016R1, a new […]