function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     $ratio = $this->_dompdf->get_option("font_height_ratio");
     return $this->_pdf->getFontHeight($size) * $ratio;
 }
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     return $this->_pdf->getFontHeight($size) * DOMPDF_FONT_HEIGHT_RATIO;
 }
示例#3
0
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     return $this->_pdf->getFontHeight($size);
 }
示例#4
0
 function get_font_height($font, $size)
 {
     $this->_pdf->selectFont($font);
     $ratio = $this->_dompdf->getOptions()->getFontHeightRatio();
     return $this->_pdf->getFontHeight($size) * $ratio;
 }