Jump to content

Custom fonts in PDF version 6.x


Damo

Recommended Posts

I'm having trouble getting our custom font working in v6.

 

The locations for the fonts is listed here http://docs.whmcs.com/PDF_Invoice_Customisation#Additional_Fonts

 

  • Upload into the /includes/classes/TCPDF/fonts/ folder (v5.3.2 +) or the /includes/classes/TCPDF/fonts/ folder (v6.0 +)

 

But it's the same location :( Where should custom fonts be placed in Version 6?

 

I have them in /includes/classes/TCPDF/fonts/ but they're not being used.

Link to comment
Share on other sites

Damo,

 

I ran into a similar issue, a few weeks ago, when designing a highly-customised PDF invoice template for a client - I had insanely assumed WHMCS would still use the most obvious location for the custom fonts... oh what a fool am I ! :roll:

 

I think the true location for uploading custom fonts is now...

 

/vendor/technick.com/tcpdf/fonts/

 

if it was mentioned in any of the release notes, I must have missed it - as I had to resort to searching directories..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated