Measurement

Once a fz_text object has been created we can measure the area it will cover on the page:


\begin{lstlisting}
/*
fz_bound_text: Find the bounds of a given text object.
\p...
...nst fz_stroke_state *stroke, const fz_matrix *ctm, fz_rect *r);
\end{lstlisting}