As pointed out in the comments, the HTML is for the registered trademark symbol ®
, so your line of code should look something like this:
certificate_print_text($pdf, $x, $y + 105, 'C', 'Helvetica', '', 24, $course->fullname."®");
source
to share