So after I created a very basic library for adding text to your canvas, I looked around for alternative solutions that are already available. And found this. I didn't write it, it's originally from this site.