missing _width() function
Brought to you by:
nosey
The _write() function around line 130 of TTF.php refers to a $this->_height() function which doesn't appear to be there. I fixed this by adding in this function:
function _height($text, $angle = false) {
return $this->height($text, $angle);
}
Which made things work for me.
The error was appearing when I was trying to set the angle of some TTF text to 90.