Skip to main content
Skip table of contents

Font examples

These questions were answered in the scope of 7.0.x and 7.1.x versions. However, if you find links to our GitHub repo, then they should target the latest version, and you can get access to specific versions by using the Tags functionality.

Interesting repos with examples to browse would be i7js-book & i7js-examples for Java and i7ns-samples for .NET (C#).

How can I use regular and bold in a single String?

How can I load a font from /WEB-INF/resources/fonts/foobar.ttf?

Why do I get a font embedding error when creating PDFA/1a?

Can I embed a font only partially?

Why is my font not applied when I create a PDF document?

How to create a PDF with font information and embed the actual font while merging the files into a single PDF?

How to create Persian content in PDF?

Do I need a license for Windows fonts when using iText?

How to use two different colors in a single String?

How to use the font Verdana in PdfStamper?

How to use System Font in iTextSharp with

Why isn't the Rupee symbol showing?

Why aren't my fonts getting registered?

How to apply color to Strings in a Paragraph?

How to make a single letter bold within a word?

How to use Cyrillic characters in a PDF?

Why is iText embedding a font even when I specify not to embed?

How to get a font from an array?

How to introduce a custom font weight?

How to restrict the number of characters on a single line?

How to choose the optimal size for a font?

Why can't I set the font of a Phrase?

How to introduce superscript?

How to allow a Unicode subscript symbol in a PDF without using setTextRise()?

How to check if a font is bold?

How to calculate the height of an element?

Why doesn't FontFactory.GetFont() work for all fonts?

How to solve an UnsupportedCharsetException when using itext-asian.jar?

How to calculate/set font line distance?

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.