Generate a fancy PDF certificate from form?
You can build a proper fillable PDF form and then use the Fill PDF module to merge it with data from a node or a webform.

Have a look at the demo on the Fill PDF service website.