![]() That command gave me also 3 files (, arial.php and arial.z) but final situation is the same like before. Php -q makefontuni.php arial.ttf arial.ufm I downloaded ttf2afm and makefontuni.php script then in command line I wrote this: ttf2ufm -a arial.ttf I've tried also prepare font by yourself : ![]() I thought that everything was ok but if in TCPDF i use this font by: $pdf->SetFont('arial', '', 16) įont in document is indeed arial but without polish specific sings (ąęłżńź) ![]() ![]() 2) Next I wrote in script : fontname pdf->addTTFfont./lib/tcpdf/arial. First Ive tried to use that :1) I got Arial from windows fonts caltalog and put it in TCPDF directory. Can somebody tell me what i am doing wrong? I need Arial font in my pdf generated by TCPDF.ġ) I got Arial from windows fonts caltalog and put it in TCPDF directory.Ģ) Next I wrote in script : $fontname = $pdf->addTTFfont('./lib/tcpdf/arial.ttf', '', '', 32) Īfter that in tcpdf/fonts appears 3 files (, arial.php and arial.z). descarray(Ascent>905,Descent>-212,CapHeight>4,Flags>32,FontBBox>-664 -325 2000 1006. I need Arial font in my pdf generated by TCPDF.
0 Comments
Leave a Reply. |