Document handlers

Support for the different document types supported by MuPDF is given by a set of document handlers (see DocumentHandler DocumentHandler). Each handler type can be enabled or disabled as required:


\begin{lstlisting}
/*
Choose which document handlers to include.
By default al...
.../
/*  ...

For instance to omit support for HTML, we would define FZ_ENABLE_HTML to be 0. Note that some document handlers share substantial parts of their code with other ones; for example the HTML and EPUB document ages share a large amount of code, so disabling just one of them will not make much difference to the overall code size.