Chapter 25
Text Internals

As described in Part 1 (section 10.10 Text), the central text object in MuPDF is fz_text. It represents blocks of bidirectional text, carrying (potentially) both details of the underlying unicode characters, and the specific glyphs to be used to render them.

typedef struct fz_text_s fz_text;

Text objects are reference counted, with the implicit understanding that once more than one reference exists to an object, it will no longer be modified.

 25.1 Creation
 25.2 Population
 25.3 Measurement
 25.4 Cloning
 25.5 Language
 25.6 Implementation