public function getCellWidth($fontName, $fontSize, $value)
    {
        $width = 1;
        foreach ($this->getSingleCharacterArray($value) as $char) {
            $width += $this->getCharacterWidth($fontName, $fontSize, $char);
        }

        return $width;
    }
public function getCellWidth($fontName, $fontSize, $value)
    {
        $width = 1;
        foreach ($this->getSingleCharacterArray($value) as $char) {
            $width += $this->getCharacterWidth($fontName, $fontSize, $char);
        }

        return $width;
    }
public function getCellWidth ( $ fontName , $ fontSize , $ value ) { $ width = 1 ; foreach ( $ this -> getSingleCharacterArray ( $ value ) as $ char ) { $ width += $ this -> getCharacterWidth ( $ fontName , $ fontSize , $ char ) ; } return $ width ; }
Get the calculated cell width for a given value.

@param string $fontName
@param int    $fontSize
@param mixed  $value

@return float|int
Get the calculated cell width for a given value .