diff --git a/tcpdf/tcpdf.php b/tcpdf/tcpdf.php index 70ff4c5f..211c9e4c 100755 --- a/tcpdf/tcpdf.php +++ b/tcpdf/tcpdf.php @@ -3407,7 +3407,7 @@ if (!class_exists('TCPDF', false)) { } else { $this->FontAscent = 0.8 * $this->FontSize; } - if (isset($this->CurrentFont['desc']['Descent']) AND ($this->CurrentFont['desc']['Descent'] > 0)) { + if (isset($this->CurrentFont['desc']['Descent']) AND ($this->CurrentFont['desc']['Descent'] < 0)) { $this->FontDescent = - $this->CurrentFont['desc']['Descent'] * $this->FontSize / 1000; } else { $this->FontDescent = 0.2 * $this->FontSize;