There is a section in the pdf_definition procedure in which the page rotation is hard-coded to zero:
PUT STREAM S_pdf_inc UNFORMATTED
"/Rotate 0" {&pdfSKIP}.
I'm not sure why a page rotation of 0 was hard-coded. This small change makes page rotation work:
PUT STREAM S_pdf_inc UNFORMATTED
"/Rotate " TT_pdf_page.page_rotate {&pdfSKIP}.
Anyone know why this feature was disabled in the first place?
Comments
no idea. I'm gonna put your
no idea. I'm gonna put your fix in the current version, and test to see if something goes wrong.
I never made a rotated pdf myself, would you mind attaching an example here?
by the way, what is the use case of this functionnality?