Certificate (add-on)

 
 
Picture of Ioannis Patsiotis
Certificate in Greek Language
 

Hello,

I am testing Certificate module(2012121302) in Moodle 2.3.3+ (Build: 20121123). I am trying to print the Certificate with Greek text but nothing appears. I have tried two ways

1. By adding a variable string in lang/en/certificate.php $string['mynewtext'] = 'Ελληνικό κείμενο'; and print this in type/custom_certificate/certificate.php like that certificate_print_text($pdf, $x, $y+25, 'C', 'Helvetica', 'B', 10, get_string('mynewtext', 'certificate'));

2. By hardcoding the text i want to print in the certificate writing in type/custom_certificate/certificate.php the line: certificate_print_text($pdf, $x, $y+30,'C', 'Helvetica', 'B', 10, 'Ελληνικό κείμενο');


In none of these ways Greek language is printed.

Thanks in advance,

Ioannis Patsiotis

 
Average of ratings: -
Picture of Boaz Neeman_Golan
Re: Certificate in Greek Language
 

which OS are you using?

do you have the fonts installed in the OS?

try to lok for the PHP errors (debug mode), and see what is written...

 
Average of ratings: -