function getFontDescender($size)
    {
        // note that this will most likely return a negative value
        if (!$this->numFonts) {
            $this->selectFont($this->defaultFont);
        }

        //$h = $this->fonts[$this->currentFont]['FontBBox'][1];
        $h = $this->fonts[$this->currentFont]['Descender'];

        return $size * $h / 1000;
    }
function getFontDescender($size)
    {
        // note that this will most likely return a negative value
        if (!$this->numFonts) {
            $this->selectFont($this->defaultFont);
        }

        //$h = $this->fonts[$this->currentFont]['FontBBox'][1];
        $h = $this->fonts[$this->currentFont]['Descender'];

        return $size * $h / 1000;
    }
function getFontDescender ( $ size ) { // note that this will most likely return a negative value if ( ! $ this -> numFonts ) { $ this -> selectFont ( $ this -> defaultFont ) ; } //$h = $this->fonts[$this->currentFont]['FontBBox'][1]; $ h = $ this -> fonts [ $ this -> currentFont ] [ 'Descender' ] ; return $ size * $ h / 1000 ; }
return the font descender, this will normally return a negative number
if you add this number to the baseline, you get the level of the bottom of the font
it is in the pdf user units

@param $size
@return float|int
return the font descender this will normally return a negative number if you add this number to the baseline you get the level of the bottom of the font it is in the pdf user units