Thanks for your suggestion.
I have solved the custom text problem by changing the field type to text in the database table mdl_certificate.
Thanks,
Rudi
Custom certificate (plugin)
Teacher name and Custom Text not print correctly
Гэтае абмеркаваньне было заблакавана, таму вы болей ня можаце адказваць на яго.