public function getFootnoteHeight($html, float $cellWidth = 0): float
    {
        if ($html->getCurrentStyle() != $this->styleName) {
            $html->setCurrentStyle($this->styleName);
        }

        if ($cellWidth > 0) {
            $this->text = $html->textWrap($this->text, $cellWidth);
        }

        $this->text .= "\n\n";
        $ct         = substr_count($this->text, "\n");
        $fsize      = $html->getCurrentStyleHeight();

        return ($fsize * $ct) * $html->cellHeightRatio;
    }