R
R
Rustam Kodirov2019-02-08 15:20:48
Java
Rustam Kodirov, 2019-02-08 15:20:48

How to add cyrillic to itext table?

I can create Cyrillic in itext using BaseFont times = BaseFont.createFont "c:/windows/fonts/times.ttf", "cp1251", BaseFont.EMBEDDED); and com.itextpdf.text.Paragraph p = new com.itextpdf.text.Paragraph("Hello world", new Font(times, 14)); , but how to add it to the table now?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-02-08
@hard_code

Obviously, add the font not to the paragraph, but to the contents of the cells.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question