certificate_print_text($pdf, $x, $y + 36, 'C', $fontsans,, 30, fullname($USER)) // Comment out old codeĬertificate_print_text($pdf, $x, $y + 36, 'C', 'myfont',, 30, fullname($USER)) // Add new code.
$fontsans = get_config('certificate', 'fontsans') // Comment out old code OpenType fonts are used commonly and can be scaled.
If it is possible how can I do it fonts font-design.
You can upload TTF (or OTF) fonts to, and download converted versions.įonts created this way seem to handle accented characters better than converting locally.įonts created this way may not handle accented characters correctly this is probably dependant on the specific software versions. I need to convert OTF font to TTF font without losing quality.
Assuming you have a font licensed for converting and embedding.