Tried converting EXAMPLEs from CS to JS > gives errors
Any direction for HOW to USE the documentation? As of now, it's test > error > test > error > not a good use of time
please advise.. trying to validation PDFKit for use...
am available to assist btw.. could kill two birds w one stone..
I need to deep dive PDFKIT.. and get up to speed w the syntax..
Need Functional References for:
Doc Size
Image Placement (explicit)
Text Formatting & Placement (explicit)
CoffeeScript - NPM suggestion for Functional Use of Existing Documentation/Examples?
Thus far none of the coffeescript NPMs appear to make Node function w any PDFKit Examples.
I used http://coffeescript.org/ (try coffeescript) to translate to .js. If I want to go deep I mostly read all issues because everybody has the same problems in the beginning. You will also find occasionally a few tips and tricks. There's a wiki.
It's open source... you're welcome to PR
Specifically I need to define the Doc Size & Place Imagery Explicitly, thus far, I've yet to find full param definitions, and/or that which I've tried has NOT worked.
Tried converting examples to js yesterday with unfavorable results... but tested your link and an example, and it functioned.. will pursue this more today.
In the meantime, any direction and/or links to data Specific to Explicit Placement for PRINT READY PDFs would be greatly appreciated.
n8
https://github.com/devongovett/pdfkit/wiki/Changing-the-Document-size
alll sizes https://github.com/devongovett/pdfkit/blob/master/lib/page.coffee
doc.image('./logo/test.jpg', 50,50,{fit: [100, 100] })
50,50 = x, y placement?
rotation?
fit 100,100 = % or pixels?
will dig more into comments.. but really in the interest of involving this in a serious project, easier access to docs are kinda needed.. :)
the help is greatly appreciated
Fixed in 0.9.0.
Most helpful comment
will dig more into comments.. but really in the interest of involving this in a serious project, easier access to docs are kinda needed.. :)
the help is greatly appreciated