Creating PDF4Printer or PDF4Generator
After the report is created, you can preview it as usual. To generate the PDF document from the report, create a PDF4Printer (or PDF4Generator, which handles PDF bookmarks described earlier).
FileOutputStream output = new FileOutputStream("output.pdf");
ReportEnv.setProperty("font.truetype.path",
"c:/winnt/fonts;d:/usr/acrobat4/resource/cidfont");
PDF4Printer pdf = new PDF4Printer(output);
pdf.putFontName("MS Mincho", "HeiseiMin-W3-Acro");
| << Installing Fonts and Inserting CJK Text | © 1996-2013 InetSoft Technology Corporation (v11.5) | Specifying the CID Font Directory >> |