Centre Jacques-Petit schreef op 13/05/2014 11:19: > For example, is there any way to > create a BaseFont from a font name/family or from a java.awt.Font > instance rather than a file path?
When using UNICODE in PDF (e.g. Identity-H), ISO-32000-1 expects you to embed the font. If you want to embed a font, you need to provide a font program. You can provide this font program in different ways: - by providing the path to the font program, e.g. c:/windows/fonts/arialuni.ttf - by providing the bytes of the font program In any case: you NEED the font program. If you don't have access to the font program, you can't embed the font. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php