I have a font called 'Champagne & Limousines' in my theme and would like to use it within the certificate - mainly for the course name.
In my theme's css I have:
font-family: 'Champagne & Limousines';
src: url([[font:theme|ChampLim.woff]]) format('woff');
...and it works well in the theme but if I put the name into certificate.php I get an error.
certificate_print_text($pdf, $x, $y + 90, 'C', 'Champagne & Limousines' , '', 48, format_string($course->fullname));
Can anyone explain what I really should have done.