How to change the location code so it print out og azur pdf and on crabe pdf
the lithuainian letters like Š and č and ų
Hi
You can use the police freesans
You can create the constant MAIN_PDF_FORCE_FONT with freesans in value
@+
Hi!
Can you give some example, you mean to change this Helvetica to freesans, do I need to add this fonts to server?
$font=‘Helvetica’; // By default, for FPDI, or ISO language on TCPDF
no need to modify the code php
In Dolibarr : Home => Setup => Other Setup
Add a key with MAIN_PDF_FORCE_FONT name and freesan in value.
@+
Hi and Thanks.
Can you tell how to add/ include the Fonts?
When adding the Key:
Home => Setup => Other Setup
key name “MAIN_PDF_FORCE_FONT”, value “freesan”.
Then I get this error: TCPDF ERROR: Could not include font definition file: freesan
Sorry, it’s freesans
@+
1 Like
This worked perfect!
Thank you.