@Pabloker I'm not sure, but I get an error while using your solution. I cannot decide which font to use ( com.itextpdf.text.Font or com.lowagie.text.Font or java.awt.Font or org.apache.poi.ss.usermodel.Font ). Whatever I use, when I try to put it in a cell, it gives an error that such a constructor does not exist. Sorry, but I'm new to iText.
, , .
BaseFont bf = BaseFont.createFont(
BaseFont.TIMES_ROMAN,
BaseFont.CP1252,
BaseFont.EMBEDDED);
Font font = new Font(bf, 12);
PdfPCell pdfCell = new PdfPCell(new Phrase(sCellVal,font));
, com.itextpdf.text.Font, basefont com.itextpdf.text.pdf.BaseFont
.