function __construct($encoding, $debug = false) { parent::__construct($encoding); $this->debugObj = $debug; $this->debug = true; $this->shrink_tables_to_fit = 1; // Does not shrink tables by default, only in emergency $this->use_kwt = true; // avoids page-breaking in H1-H6 if a table follows directly }