Skip to main content
Skip table of contents

Font examples - iText 5 Code Example

Simple fonts, composite fonts, embedded fonts, encoding, ttf files, special characters, right to left writing systems,... This chapter is where all your questions about fonts belong.

How to calculate/set font line distance? | iText 5 PDF Development Guide

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

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

How to calculate the height of an element? | iText 5 PDF Development Guide

How to check if a font is bold? | iText 5 PDF Development Guide

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

How to introduce superscript? | iText 5 PDF Development Guide

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

How to choose the optimal size for a font? | iText 5 PDF Development Guide

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

How to introduce a custom font weight?

Why is iText embedding a font even when I specify not to embed? - iText 5 PDF Library Explained

How to get a font from an array? | iText 5 PDF Development Guide

How to use Cyrillic characters in a PDF? | iText 5 PDF Development Guide

How to make a single letter bold within a word? | iText 5 PDF Development Guide

How to apply color to Strings in a Paragraph? | iText 5 PDF Development Guide

How to use two different colors in a single String? | iText 5 PDF Development Guide

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

How to create Persian content in PDF? | iText 5 PDF Development Guide

Why aren't my fonts getting registered?

Why isn't the Rupee symbol showing?

How to display indian rupee symbol? | iText 5 PDF Development Guide

How to use System Font in iTextSharp with VB.net?

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

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

Can I embed a font only partially? - iText 5 Documentation

Why do I get a font embedding error when creating PDFA/1a? - iText 5 PDF Library Explained

How can I load a font from /WEB-INF/resources/fonts/foobar.ttf? | iText 5 PDF Development Guide

How can I use regular and bold in a single String? | iText 5 PDF Development Guide

JavaScript errors detected

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

If this problem persists, please contact our support.