In fact, some users have reported this problem very early. The main manifestation is that the PDF attachments of customer bills are garbled. A bunch of them? No., although this thing is indeed not a big deal, it is still a problem that looks unpleasant. As shown in the picture, are all the Chinese parts? No.:
whmcs-pdf
This problem is caused by the bill font. The solution must be from two aspects, one is the settings of the WHMCS background, and the other is the download related Font (droidsansfallback).
First, we download the font (droidsansfallback) from the Internet, decompress it and transfer it to the includes/font in the WHMCS installation directory. There are three files in total: droidsansfallback.php, droidsansfallback.ctg.z, droidsansfallback.z.
Then, log in to the WHMCS backend with the administrator account, enter Setup, General Settings, Inovices, find TCPDF Font Family below, select Custom, and fill in droidsansfallback to save.
(The Chinese menu in the above steps is System Settings, General Settings, Invoice, TCPDF Font Series)
OK, now we try to send the Invoice Payment Confirmation email again, and the Chinese is finally displayed normally.
whmcs-pdf-02
The above is the VPSAA host WHMCS tutorial series. The required tools can be downloaded and used in the user product additional options.


Hong Kong/United States/Domestic High Speed ​​VPS

postid
1086

Leave a Reply