andi-nl / ANDI-frontend

Advanced Neuropsychological Diagnostics Infrastructure frontend
1 stars 4 forks source link

Export svg to pdf with use server side python. #136

Closed mkuzak closed 8 years ago

mkuzak commented 8 years ago

Here are the things I've found while shortly researching it:

svglib reportlab https://gist.github.com/mbostock/6466603 https://docs.djangoproject.com/en/dev/howto/outputting-pdf/#install-reportlab https://docs.djangoproject.com/en/1.8/howto/outputting-pdf/ http://stackoverflow.com/questions/5835795/generating-pdfs-from-svg-input https://www.davidfischer.name/2015/08/generating-pdfs-with-and-without-python/

jvdzwaan commented 8 years ago

Notes to myself reportlab needs python3-dev cairosvg needs libffi-dev, and python packages lxml tinycss cssselect