Chapter 8. Choosing the right font

This chapter covers

  • What is a font?

  • What is a font program?

  • What font do you need?

The previous part of this book was iText specific. You created some interesting building blocks that were translated to PDF by iText. In this part, we’ll focus mainly on PDF-related issues. In chapters 1012, you’ll learn a lot about the syntax used in PDF. In chapters 8 and 9, we’ll focus on fonts.

Previous examples have used the font Helvetica. You may have wondered why I didn’t use Arial. In this chapter, you’ll learn that Helvetica offers some advantages because it’s a so-called built-in font. It also has some downsides, so it’s important to learn how to select another font. In a series of small examples, you’ll learn how to produce ...

Get iText in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.