Open theoryshaw opened 9 years ago
pdf.js a way of viewing PDFs in the browser, not creating them.
http://stackoverflow.com/questions/19699366/html5-canvas-to-pdf would be more use
I made a start on this, spent an hour on it.
It will take another few hours to get it fully working..
jsPDF is kinda messy because I have to bring in like 8 files to get working PDF generation.. I feel like there should be a cleaner way IE processing the canvas on the server(using abiword or so) or something...
here i was thinking of uploading pdfs (similar to raster images) as a background on which to sketch upon. That's a majority of what the AEC industry uses tools like these for--sketching on existing pdfs.
Oh you want upload or download support? You didn't specify...
sorry.
exporting out a pdf that has been annotated upon, would be a key workflow in the industry as well.
So
Yea this is a way bigger job than I can do in spare time, hopefully someone else can pick up on my branch and finish it off!
no worries. Yeah, i basically just 'log' ideas here, just to log them somewhere. No obligations or expectations. Thanks.
Adding to the work already done, I have got a basic PDF export working (e5dd1ab). Might try to have a look at importing etc some time soon.
I just did a better PDF export for etherpad too https://github.com/JohnMcLear/ep_better_pdf_export
Perhaps integrating something like this?... https://github.com/mozilla/pdf.js