Text Internals

As described in Part 1 (TextOverview TextOverview), 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.


\begin{lstlisting}
typedef struct fz_text_s fz_text;
\end{lstlisting}

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.



Subsections