![]() ![]() ![]() 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 put a copy of ARIALUNI.ttf in fonts folder under tcpdf installation (ive. I downloaded ttf2afm and makefontuni.php script then in command line I wrote this: ttf2ufm -a arial.ttf It appears there is not a single font that will support all languages. I've tried also prepare font by yourself : descarray(Ascent>905,Descent>-212,CapHeight>4,Flags>32,FontBBox>-664 -325 2000 1006. 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 (ąęłżńź) 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). ![]()
0 Comments
Leave a Reply. |