vectorDoc
.rotate(90, {origin: [650, 45]})
.fillColor(is_express ? 'red' : 'black')
.font('OpenSans-Light')
.fontSize(12)
.text('hello', 650, 53)
Seems to make my script fail, I've even tried setting rotation to 89.9, tried this as well:
vectorDoc
.save()
.rotate(90, {origin: [650, 45]})
.fillColor(is_express ? 'red' : 'black')
.font('OpenSans-Light')
.fontSize(12)
.text('hello', 650, 53)
.restore()
I've tried removing the font/fontSize options but nothing seems to work. Using the latest npm version with pdftk 2.01 a Handy Tool for Manipulating PDF Documents
Seems to make my script fail, I've even tried setting rotation to
89.9, tried this as well:I've tried removing the font/fontSize options but nothing seems to work. Using the latest npm version with
pdftk 2.01 a Handy Tool for Manipulating PDF Documents