I have an excel sheet which I export to pdf with the viktor.convert_excel_to_pdf() function. Within Excel I have selected the page setup to fit the sheet according to the picture:
This works well within excel and also seems to make sure the pdf is fitted to one page.
However, when I export the sheet to pdf with the viktor function, the column widths seem to change and become wider, causing the layout to change.
This also happens when I is use the scaling option for page setup (also if it is set to 100%) as:
Is there a way to prevent this change in column width? I would preferrably not use openpyxl as some data seems to get lost.