How to implement custom fonts in TCPDF

后端 未结 13 1032
鱼传尺愫
鱼传尺愫 2020-11-28 10:07

In TCPDF, there are only a few fonts to choose from, to create pdf files. I want to set Tahoma as my pdf font. How can I include Tahoma in TCPDF??<

13条回答
  •  我在风中等你
    2020-11-28 10:55

    There is no point in using addTTFfont() if you don't have the .ttf file.

    And the whole point is: if there is NO ttf file, how can someone use addTTFfont() function?

    For example, there is no cid0cs file in font/ directory (TCPDF 6.0.20), only cid0cs.php, which is NOT a font file.

提交回复
热议问题