tcpdf encode chinese character

前端 未结 4 527
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 12:43

I am using tcpdf to create a pdf, but it cant show chinese character, instead it just show square box. I used this example that provided by them and then changed the cache/u

4条回答
  •  礼貌的吻别
    2021-01-13 13:26

    try this

    $pdf->SetFont('kozminproregular', '', 12);
    

    It just helped me. Hope it also helps u.

提交回复
热议问题