use the xhtml2pdf edw fork (it uses Pillow)