tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

about chinese font question #501

Open lin1622 opened 2 years ago

lin1622 commented 2 years ago

I have simfang.ttf but not have simfangBOLD.ttf (because simfangBOLD is not exist ), how cant i use $pdf->SetFont('simfang', 'B', 20);

104979058 commented 2 years ago

$pdf->setFont('stsongstdlight', '', 12, '', true); try

lin1622 commented 2 years ago

i need font family with simfang,not stsongstdlight..

MX-Qulin commented 2 years ago

2022年4月6日 10:31,Coding @.***> 写道:

i need font family with simfang,not stsongstdlight..

— Reply to this email directly, view it on GitHub https://github.com/tecnickcom/TCPDF/issues/501#issuecomment-1089629069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJOOJ5P65W47A5QEKOFWUDDVDTSQVANCNFSM5SAPVOBA. You are receiving this because you are subscribed to this thread.

他没有粗体你哪儿来的’B’ 换个有粗体ttf的字体不就好了?