tcexam icon indicating copy to clipboard operation
tcexam copied to clipboard

pdf problem

Open ParmaU opened this issue 10 months ago • 4 comments

HI I updated the system to the latest version 16.3.1 when creating the PDFs I noticed that something isn't working, it doesn't seem to wrap to a new line Screenshot 2024-04-19 110607

ParmaU avatar Apr 19 '24 09:04 ParmaU

I also have the same problem, I'm from Vietnam, and when exporting to PDF, there is a font error. Capture Capture1

Nguyenhphuc avatar May 22 '24 10:05 Nguyenhphuc

I have the same problem.

I solve this issue by modifying line: https://github.com/tecnickcom/tcexam/blob/adfbc1ec255f4ad0d443f7464b11ed3d95a21e32/shared/tcpdf/tcpdf.php#L17302C97-L17302C101

public function writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=false, $reseth=true, $align='', $autopadding=true)

in

public function writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=false, $reseth=false, $align='', $autopadding=true)

drajar avatar Jun 01 '24 15:06 drajar

thanks so much! i will try...

Nguyenhphuc avatar Jun 02 '24 01:06 Nguyenhphuc

hello thanks for the information, but in my case the problem remains even making the recommended change does not improve the situation and the problem remains

ParmaU avatar Jun 03 '24 09:06 ParmaU