TCPDF无法显示西里尔文

V.R*_*kov 7 php pdf tcpdf

我正在尝试用TCPDF输出pdf中的西里尔文.

我尝试过使用UTF-8,Windows-1251.我已将Unicode更改为FALSE和TRUE,以进行测试,但我只是得到了?我尝试使用默认和文件中的字体,但结果相同,我尝试使用setsubsettings,再次,没有结果.怎么了?

anr*_*ots 17

将字体设置为freeserif为我做了 - 默认/ helvetica字体:不可读的西里尔字符; freeserif:可读的俄语文本.

// set default font subsetting mode
$pdf->setFontSubsetting(true);

// set font
$pdf->SetFont('freeserif', '', 12);
Run Code Online (Sandbox Code Playgroud)

http://www.tcpdf.org/examples/example_008.phps