font name in invoice

  • Andrea Baldoni
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 1 week ago #61819 by Andrea Baldoni
font name in invoice was created by Andrea Baldoni
hi, i changed font text in invoice but when user download the invoice in pdf file still shows times new roman

Please Log in or Create an account to join the conversation.

  • Andrea Baldoni
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 4 days ago #62070 by Andrea Baldoni
Replied by Andrea Baldoni on topic font name in invoice
sorry, have news?

Please Log in or Create an account to join the conversation.

  • Andrea Baldoni
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
8 years 11 months ago #62660 by Andrea Baldoni
Replied by Andrea Baldoni on topic font name in invoice
have news?

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #69565 by Kees Lina
Replied by Kees Lina on topic font name in invoice
Hi.

i was looking fot this too. I don't know if you found it already? For the Event booking component, you can change this in the file 'Helper.php' ( found in the 'helper' directory ).

Search for this line in the component files :

$pdf->SetFont('times', '', 8);

You can change it to something like:

$pdf->SetFont('helvetica', '', 10);

(Helvetica font, size 10 ).

For adding other fonts, see this page: www.tcpdf.org/fonts.php
The following user(s) said Thank You: Tuan Pham Ngoc

Please Log in or Create an account to join the conversation.