Closed vipinjohney closed 7 years ago
Can you please provide a screenshot or even better a PDF that exhibits this bug so we can properly test and fix it? Feel free to send in a pull request as well!
Closing due to inactivity, feel free to re-open if you have an example.
Any PDF which has content in the landscape mode should produce this bug.
I seem I cannot reproduce this. I tried loading up a random PDF that has its content in landscape mode, but I am unable to reproduce this issue (screenshots attached). Are you running on HEAD or an older commit?
Try with this document.
@vipinjohney This should be fixed in v2.2.2
PDF is not flipped to the right direction.
The below code is not working. // Flip the context so that the PDF page is rendered right side up. con.translateBy(x: 0, y: bounds.size.height) con.scaleBy(x: 1, y: -1)
I think you need to add "concatenate" - context.concatenate(_ transform: CGAffineTransform)