TxtProcessor is based on the MPDF implementation https://github.com/mpdf/mpdf