I tried to upgrade TCPDF from 5.9.179 to 6.0.091 and everything worked fine except in situations where the function SetFont is called.
In some cases, when changing only the font size and / or the style (bold or not), the text did not get displayed.
$font = 'courier';
$this->SetFont($font, '', 10, '', false);
$this->SetTextColorArray(array(0, 0, 0));
$this->MultiCell(120, 5, 'Test 1', 0, 'L', false, 1, null, null, false, 0, false, true, 5, 'M', true);
$this->SetFont($font, '', 10, '', false);
$this->SetTextColorArray(array(0, 0, 0));
$this->MultiCell(120, 5, 'Test 1', 0, 'L', false, 1, null, null, false, 0, false, true, 5, 'M', true);
The string is only displayed once.
Hello,
I tried to upgrade TCPDF from 5.9.179 to 6.0.091 and everything worked fine except in situations where the function SetFont is called.
In some cases, when changing only the font size and / or the style (bold or not), the text did not get displayed.
Short example
The string is only displayed once.