作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我试图在 FPDF
中为我的文本加下划线,但这似乎是不可能的……我没有使用 HTML。我使用的是 DejaVu
unicode 字体,它支持 UTF-8,这也是我第一次使用 FPDF。
这可能吗?请给我一些解决方案。
最佳答案
试试这个:
$fpdf->SetFont('Dejavu','U'); //Where "U" means underline.
另见(德语)http://www.fpdf.de/funktionsreferenz/?funktion=SetFont
关于php - 如何在 PHP 中使用 FDPF 为文本添加下划线?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13598384/
我试图在 FPDF 中为我的文本加下划线,但这似乎是不可能的……我没有使用 HTML。我使用的是 DejaVu unicode 字体,它支持 UTF-8,这也是我第一次使用 FPDF。 这可能吗?请给
我是一名优秀的程序员,十分优秀!