After reading "Multi-Line Padded Text" on CSS Tricks I decided to try making a version which used border-radius. Unfortunately, I found there was no easy way of doing this with CSS. I experimented for a while but ultimately tried implementing a solution in canvas. This is that.