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

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.
k25/k25.1.14/start.txt · Last modified: by 127.0.0.1