User Tools

Site Tools


k25:k25.1.14:start

25.1.14 Project 4 - Text

Drawing text with methods of the Cairo class is possible, as this project shows. As the text is available as a PDF file, it can be displayed immediately and printed out without any problems - an advantage that should not be underestimated. On the other hand, it would be very time-consuming to expand the project into a text editor. At the very least, you would have to insert a pagination and hyphenation or use a landscape format for longer lines of text.

Consider the project as a demonstration of the possibilities of drawing text on exactly one page with Cairo:

B1

Figure 25.1.14.1: View of the generated PDF file (excerpt)

The complete source code can be found in the project archive, which is available for testing in the download area.

Download

Chapter & Projects

Download

The website uses a temporary session cookie. This technically necessary cookie is deleted when the browser is closed. You can find information on cookies in our privacy policy.
k25/k25.1.14/start.txt · Last modified: 20.02.2024 by emma

Page Tools