AlJohri / docx2pdf

MIT License
497 stars 94 forks source link

Output scaling issues. Output PDF only shows top left quarter of the input document #77

Open taylormadeapps opened 1 year ago

taylormadeapps commented 1 year ago

Hi I am running v0.1.8 of the module on x64 Python 3.11 on Windows Server 2016 and Word 2016 (16.0.5369.1000) MSO (16.0.5366.1000)

I've been running this fantastic module with v0.1.7 for a couple of years. Then I notice in Jan '23 that the output pdfs just show the top quarter of the original page scaled to fit the whole pdf page. i.e. I am just seeing the top left quarter of each original page in the pdf.

I haven't updated any python components or code during this time/ I upgraded to latest python 3.11 x64 build and updated docx2pdf to v0.1.8 to see if this resolved it to no avail.

The only thing I believe to have changed is that word has been updated in this time, through windows update.

The document in question contains sensitive information so I would have to look at redacting or something, if this is needed for further diagnosis.

I'm not sure where to go from this point, so I am reaching out here for further advice on how to resolve this issue. Hope some kind soul can point me in the right direction.

regards

TT

taylormadeapps commented 1 year ago

Have got it working in https://github.com/AlJohri/docx2pdf/pull/82