> On 16 Aug 2016, at 13:48, Tilman Hausherr wrote:
>
> Am 16.08.2016 um 21:25 schrieb hamena314:
>> |PDType0Font font = PDType0Font.load(doc, new File("MyFont.otf")); |
>
>
> I wonder if this would work:
>
> OTFParser otfp = new OTFParser(true);
> TrueTypeFont ttf = otfp.parse(new File("MyFo
Am 16.08.2016 um 21:25 schrieb hamena314:
|PDType0Font font = PDType0Font.load(doc, new File("MyFont.otf")); |
I wonder if this would work:
OTFParser otfp = new OTFParser(true);
TrueTypeFont ttf = otfp.parse(new File("MyFont.otf"));
PDType0Font font = PDType0Font.load(doc, ttf, true);
---
Hey there!
I am trying to use an OTF-font for creating a PDF with PDFBox 2.0.2 in
Java 8.
I've tried different methods and read what google could find, but it was
not that much to this topic:
http://stackoverflow.com/questions/26651261/using-pdfbox-to-create-pdf-referencing-otf-fonts
|Stri
3 matches
Mail list logo