Logo Search packages:      
Sourcecode: acidbase version File versions  Download package

Cpdf::getFontDecender ( size )

return the font decender, 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

Definition at line 1943 of file class.pdf.php.

References selectFont().

Referenced by PRVTcheckTextDirective1().

  // note that this will most likely return a negative value
  if (!$this->numFonts){
  $h = $this->fonts[$this->currentFont]['FontBBox'][1];
  return $size*$h/1000;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index