Please try this: After the line
String fontName = res.add(font).getName();
save the file, close, and load it again.
String fontName = res.add(font).getName();
doc.save("i-130-tmp.pdf"));
doc.close();
doc = PDDocument.load(new File("i-130-tmp.pdf"));
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

