protected function ErrorText($error) { $text = array('x' => $this->pad_left, 'y' => $this->height - 3); $style = array('font-family' => 'monospace', 'font-size' => '12px', 'font-weight' => 'bold'); $e = $this->ContrastText($text['x'], $text['y'], $error, 'blue', 'white', $style); return $e; }