iText 7

iText 7 Suite
January 31, 2018, release of iText 7.0.6, pdfHTML 1.0.3, pdfXFA 1.0.3.
Tags: ChangelogiText 7
January, 2018
About pdf2Data pdf2Data is an add-on for iText7 to recognize data inside PDF documents in an intuitive and predictable manner. It provides a mechanism to extract predefined data fields from the PDF documents based on the same template (for example, an invoice coming from the same supplier). A new release We are proud to inform you about the latest release: pdf2Data 1.2.0 not only for Java , but now also for...
Open source versions
Good news for our community of developers! We've decided to make our iText 7 add-ons pdfHTML , pdfSweep , pdfInvoice and pdfDebug open source under the AGPL license - as was already in place for iText 7 Community . You asked, and we listened. We agree that there is a lot of value in having access to add...
Tags: ChangelogiText 7
October 30, 2017
October 30, 2017, release of iText 7.0.5, pdfSweep 1.1.0, pdfHTML 1.0.2, pdf2Data 1.2.0, and pdfInvoice 1.0.2.
Introduction A year and a half after the release of iText 7 - a rewrite of iText from scratch, many developers have migrated from iText 5 to iText 7. We've received feedback that: the new API is much more intuitive; iText 7 code is much easier to write, read, and maintain; the upgrade was postponed because of: lack of time, and the effort needed to rewrite application due to the fact that iText 7 isn't backwards compatible. Surprisingly, not many developers have made the switch from iText 5 + XML Worker to iText 7 + the pdfHTML add-on yet. When asked why not, developers gave us different...

Chapter 7: Frequently Asked Questions about pdfHTML

How to convert an ASP or JSP page to PDF? How to parse multiple HTML files into one PDF? Can pdfHTML render Base64 images to PDF? Can I generate a PDF from a URL instead of from a file on disk? Do we need a browser engine to render HTML+CSS to PDF Does my HTML have to be valid XML? How to add metadata to a PDF using pdfHTML? How do the measurement systems in HTML relate to the measurement system in PDF? Can I convert an HTML form to a PDF? How to render certain HTML entities (such as arrows) to PDF? Why can't I embed a font due to licensing restrictions? Which languages are supported in pdfHTML? How to convert HTML containing Arabic/Hebrew characters to PDF? Why is my PDF missing several characters?


Chapter 6: Using fonts in pdfHTML

Up until now, we haven't spent much attention to the fonts that were used when we converted HTML to PDF. We know that Helvetica is the default font used by iText when no font is specified (chapter 2), and we know that pdfHTML ships with some built-in fonts if you need to embed a font (chapter 4), but we didn't get a clear overview of which fonts are supported as of yet.

There are two things you need to know before reading this chapter: