How to get the font type that an otf file holds?

2013-04-11 Thread Vladimir Starostenkov
Let's say I have an "SomeFont.otf" and I want to use the one of the fonts it holds to write some text into a pdf file and embed the font. The following code works fine if I have Type 1 font: PDFontDescriptorDictionary fd = new PDFontDescriptorDictionary(); PDType1Font font = new PDType1Fon

Re: Error when opening multi-page PDF generated by PDFBox

2013-04-11 Thread jlonc
Hi, generating of damaged PDFs is gone in my case ;) 1.8.1 seems to be much better then 1.8.0 good work ;) 1.8.1 is good successor to 1.7.1 ;) Best regards Juraj Lonc From: Andreas Lehmkuehler To: users@pdfbox.apache.org, Date: 11. 04. 2013 07:46 Subject:Re: Error when op