We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I used polish letters and trid to apply BOLD or ITALIC style I noticed that it doesn`t work. In the example below:
Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("c:/pdf/pdf-document.pdf")); document.open(); PdfPTable datatable = new PdfPTable(2); datatable.addCell(new Phrase("1. aącćeęlł BOLD", new Font(Font.HELVETICA, 20, Font.BOLD))); datatable.addCell(new Phrase("2. aacceell BOLD", new Font(Font.HELVETICA, 20, Font.BOLD))); datatable.addCell(new Phrase("3. aącćeęlł ITALIC", new Font(Font.HELVETICA, 20, Font.ITALIC))); datatable.addCell(new Phrase("4. aacceell ITALIC", new Font(Font.HELVETICA, 20, Font.ITALIC))); datatable.addCell(new Phrase("5. aącćeęlł STRIKETHRU", new Font(Font.HELVETICA, 20, Font.STRIKETHRU))); datatable.addCell(new Phrase("6. aącćeęlł UNDERLINE", new Font(Font.HELVETICA, 20, Font.UNDERLINE))); document.add(datatable); document.close();
(please complete the following information)
The text was updated successfully, but these errors were encountered:
You can try an OpenType font like Noto Sans See also https://github.com/LibrePDF/OpenPDF/wiki/Accents,-DIN-91379,-non-Latin-scripts
Sorry, something went wrong.
żądanie ściągnięcia, zapraszamy :)
No branches or pull requests
Describe the bug
When I used polish letters and trid to apply BOLD or ITALIC style I noticed that it doesn`t work.
In the example below:
To Reproduce
Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("c:/pdf/pdf-document.pdf"));
document.open();
PdfPTable datatable = new PdfPTable(2);
datatable.addCell(new Phrase("1. aącćeęlł BOLD", new Font(Font.HELVETICA, 20, Font.BOLD)));
datatable.addCell(new Phrase("2. aacceell BOLD", new Font(Font.HELVETICA, 20, Font.BOLD)));
datatable.addCell(new Phrase("3. aącćeęlł ITALIC", new Font(Font.HELVETICA, 20, Font.ITALIC)));
datatable.addCell(new Phrase("4. aacceell ITALIC", new Font(Font.HELVETICA, 20, Font.ITALIC)));
datatable.addCell(new Phrase("5. aącćeęlł STRIKETHRU", new Font(Font.HELVETICA, 20, Font.STRIKETHRU)));
datatable.addCell(new Phrase("6. aącćeęlł UNDERLINE", new Font(Font.HELVETICA, 20, Font.UNDERLINE)));
document.add(datatable);
document.close();
Expected behavior
System
(please complete the following information)
The text was updated successfully, but these errors were encountered: