function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     $ratio = $this->_dompdf->get_option("font_height_ratio");
     return $this->_pdf->getFontHeight($size) * $ratio;
 }
Exemplo n.º 2
0
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     return $this->_pdf->getFontHeight($size) * DOMPDF_FONT_HEIGHT_RATIO;
 }
Exemplo n.º 3
0
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     return $this->_pdf->getFontHeight($size);
 }
Exemplo n.º 4
0
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     $ratio = $this->_dompdf->getOptions()->getFontHeightRatio();
     return $this->_pdf->getFontHeight($size) * $ratio;
 }