> On 16 Aug 2016, at 13:48, Tilman Hausherr <[email protected]> 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("MyFont.otf")); > PDType0Font font = PDType0Font.load(doc, ttf, true);
No, it won’t. Unfortunately we don’t support embedding OTFs. One reason for this is that we don’t have an OTF subsetter. — John > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

