Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图让我的文本加下划线,FPDF但这似乎是不可能的......我没有使用 HTML。我正在使用DejaVu支持 UTF-8 的 unicode 字体,这也是我第一次使用 FPDF。
FPDF
DejaVu
这甚至可能吗?请给我一些解决方案。
试试这个 :
$fpdf->SetFont('Dejavu','U'); //Where "U" means underline.
另见(德语)http://www.fpdf.de/funktionsreferenz/?funktion=SetFont
另见(英文)http://www.fpdf.org/en/doc/setfont.htm