We generate a PDF with the use of $tcpdf->MultiCell(45, 0, $text, 0, 'C', 0, 1, $x, $y, TRUE, FALSE, FALSE, TRUE, 0); where the text is "Paniertes Schweins-schnitzel". The - is a shy hyphen ALT+0173 Character.
We expect the output to be like
but instead it shows
From what I found out is that it happens when the Line Break/End of Line/With reached comes between the space and the shy hypen.
We used TCPDF 5.9.149 as well as the newest 5.9.162