fix offset after trim issue in pdf
Merge branch 'pdf_fix'