How to embed Helvetica font in PDF using iText?
Following does not work:
BaseFont helvetica = BaseFont.createFont(BaseFont.HELVETICA,
BaseFont.CP1252, BaseFont.EMBEDDED);
Font font = new Font(helvetica, 20, Font.BOLD);
That is, this will return false:
font.getBaseFont().isEmbedded()
Embedding works if I provide the TrueType file myself as a parameter to createFont() method.