pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clifford <cliffo...@paprika-software.com>
Subject OTFParser how to
Date Wed, 19 Apr 2017 16:12:59 GMT
When doing..
java.io.FileInputStream fis = new java.io.FileInputStream(file1);
OTFParser p = new OTFParser();
OpenTypeFont otf = p.parse(fis);

and otf.isPostScript() is true how do I embed the font  as

PDType0Font.load(doc, otf, true); will cause a error later on of 
"java.lang.UnsupportedOperationException: OTF fonts do not have a glyf 
table" which is true as it dose not have a glyf table


*Kind regards*

*Clifford Dann

T +44 (0)1732 811603
www.paprika-software.com <https://www.paprika-software.com%3C>
Latters House, High Street, Hadlow, Tonbridge, Kent, TN11 0EF, United 

Agency Software Worldwide Ltd.    Registered in England and Wales 01665695

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message