In this iText 5 example, we will create a Hello World example in different languages, using different fonts:
public void createPdf(String dest)
throws DocumentException, IOException {
Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream(dest));
...