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

Cpdf::getFontHeight ( size )

return the height in units of the current font in the given size

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

References selectFont().

Referenced by PRVTcheckTextDirective1().

  if (!$this->numFonts){
  // for the current font, and the given size, what is the height of the font in user units
  $h = $this->fonts[$this->currentFont]['FontBBox'][3]-$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