Problem with Cyrillic symbos in orders and invoice 8 Months, 2 Weeks ago
Karma: 0
Hello, I starting to use Dolibarr and I want to print invoices and orders, but I have one main problem - cyrillic, when I finished with Customer order and try to print in PDF file have only "?". I'm from Bulgaria. Did have solution for this problem?
Thank you in advanced!
Re:Problem with Cyrillic symbos in orders and invoice 8 Months, 2 Weeks ago
Karma: 8
Hello,
This should be a font problem, I assume that the current font used for generating the PDF cannot handle Cyrillic,, so try to use another set of font...
You will find the fonts in your Dolibarr folder.../includes/tcpdf/fonts/
To change the font used for generating PDF, you need to edit the 'main.lang' file of the language you are using (you'll find the file in your Dolibarr.../langs/en_US/main.lang for instance if you use English)
Edit the main.lang file, locate the constant FONTFORPDF at the beginning of the file and change the value to FONTFORPDF=dejavusans for instance if you want to use dejavusans ... save the file and try again to generate your PDF... good luck ! wish you will find one font which suits your needs.
If you are unlucky, so you can try with more fonts, just go to the TCPDF website sourceforge.net/projects/tcpdf/files/ and download the latest zip package. Then extract only the 'fonts' folder from the zip... then copy the files in your Dolibarr installation .../includes/tcpdf/fonts/ so you will get more fonts to play with.
Just make a backup of your files before to modify...
Re:Problem with Cyrillic symbos in orders and invoice 8 Months, 2 Weeks ago
Karma: 0
Thank you man! Awesome! The problem was in main.lang file, FONTFORPDF=dejavusans was missing at the begining of file. Once again BIG THANK TO YOU AND DEVELOPER TEAM!
Re:Problem with Cyrillic symbos in orders and invoice 8 Months, 1 Week ago
Karma: 0
Now I have one more problem with cyrillic. I start to translate system by editing .lang files in language directory, everythig is ok there, but when I add new customer in database, the Ref. number is not correct(incorect symbols). I configure Third party modul with custom mask(Elephant) writen in cyrillic, there is correct but when I add new proposal, order or invoice the number is invalid.
What can i do for this to correct?
Dolibarr grade: Yoda.
Thanks to help the project by making a Paypal donation (credit card allowed) using the link "Make a donation" available on right area of Home page: www.dolibarr.org
The administrator has disabled public write access.