private function parse_font_style($font) { if (!$font) { return $this->text_style[0]; } else { return $this->text_style[$font]; } }