The fpdf cell line breaks automatically in Chinese, for example, the question cell & nbsp; why cannot the text line breaks automatically in Chinese? Write & nbsp; can be set to wrap, but there is no border MultiCell & nbsp; or, but cannot generate a table, a cell occupies a row and downloads chinese. php & nbsp; cannot end the problem either. Can someone help me? Automatic line feed of cell in fpdf
Example
Why can't the text in cell be automatically wrapped? How to set
Write can wrap, but there is no border
MultiCell can also be used, but tables cannot be generated. a cell occupies a row,
Download chinese. php
The problem cannot be solved either. Can someone help me?
Fpdf cell?
Share:
------ Solution --------------------
$ Y = $ p-> gety ();
$ X = $ p-> getx ();
$ P-> setfont ('text', '', 12 );
$ P-> MultiCell (60, 40, 'Chinese cell content', 1, 'C ');
$ P-> setxy ($ x + 60, $ y );
$ P-> MultiCell (60, 40, 'Chinese cell content', 1, 'C ');