1 (edited by blackforest1959 04/15/2013 08:21:46 am)

Topic: Missing gbsn00lp.php

Hello,
i have installed the chinese simplified language. When i try to print out a sales order frontaccounting complains:

TCPDF error: Could not include font definition file: gbsn00lp.php

how to do ?

many thanks and best regards

blackforest

Re: Missing gbsn00lp.php

You will have to download the fontfile from the website download section. Unpack and copy the unpacked files into folder /reporting/fonts .

Then you have to change the /reporting/includes/class.pdf.inc file to use this font. I can't recall at which line this is, but you will find it.

Joe

3 (edited by blackforest1959 04/15/2013 09:25:56 am)

Re: Missing gbsn00lp.php

Download site from tcpdf or frontaccounting ?

Re: Missing gbsn00lp.php

From Fa Website.

Joe

Re: Missing gbsn00lp.php

Got it.
Haven't found the gbsn00lp.php, but used instead stsongstdlight.php from the tcpdf package, changed Line 159 from /reporting/includes/class.pdf.inc to
' case "zh_CN" :     $fontname = "stsongstdlight";     break; '

et voila it's printing a mix of english and chinese.
If we have time i will let one of my employees finish the translating

thanxalot for your help

Re: Missing gbsn00lp.php

Updated Wiki at:
https://frontaccounting.com/fawiki/index.php?n=Help.InstallUpdateLanugages