Closed ollym closed 10 years ago
This works fine: (the text is rotated and the page stays the right way around):
class TemplateDocument < RGhost::Document def initialize(order, template) super paper: [200, 100] rotate 45 show 'hello world' end end
This doesn't: (the entire page is flipped from landscape to portrait):
class TemplateDocument < RGhost::Document def initialize(order, template) super paper: [200, 100] rotate 50 show 'hello world' end end
The fix is to have:
doc.render(:pdf, d: { AutoRotatePages: '/None' })
In your render method.
This works fine: (the text is rotated and the page stays the right way around):
This doesn't: (the entire page is flipped from landscape to portrait):