expose textLayout
update example to use pdfkit instead of canvas