Hi,

  I'm using the latest LibreOffice to produce a PDF and the latest PDFBox
to extract the pages as images but I'm having some problems with the fonts.
If I use Times New Roman I get a

org.apache.pdfbox.pdmodel.font.PDSimpleFont drawString
Changing font on <test> from <Times New Roman> to the default font

  If I embed some more exotic fonts in the PDF, I get a

org.apache.pdfbox.util.PDFStreamEngine processOperator
unsupported/disabled operation: BMC
org.apache.pdfbox.util.PDFStreamEngine processOperator
unsupported/disabled operation: EMC
org.apache.pdfbox.util.PDFStreamEngine processOperator
unsupported/disabled operation: BDC
org.apache.pdfbox.pdmodel.font.PDSimpleFont drawString
Changing font on <test> from <Algerian> to the default font

This is all on the same machine. Is there a special trick in getting the
fonts working?

The extraction is done with something like

PDDocument doc = PDDocument.load(pdf);
List pages = doc.getDocumentCatalog().getAllPages();
for (int i = 0; i < pages.size(); i++)
{
PDPage page = (PDPage) pages.get(i);
pics.add(page.convertToImage());
}


Thanks in advance,
  Nik

-- 
---
Nik

Reply via email to