we have what it seems a new issue with unwanted page breaks that occur when converting a docx to pdf format. We are using GroupDocs.Conversion 21.11.0 (latest stable).
However when i convert the same document through the online pdf converter (Online bestandsconversie | Gratis GroupDocs Apps) it seems OK.
So my question is actually: what are the default LoadOptions/PdfConvertOptions that are used on your online converter?
I already tried playing with the margin settings and other PdfOptions (even removed them all) but i canāt get the same conversion output like your online tool does.
Thanks for the information,
attached, the related document (docx) and the converted pdf with an extra page break on page 2
https://easyupload.io/m/0d9eve
(using easyupload, as the initial file was too large)
Itās still on the first page. Please have a look at this screenshot.jpg (132.7 KB) and this output.pdf (1.2 MB).
Could you please highlight the issue with a screenshot?
Hi, see another wetransfer link with a screen record of original DOCX, conversion through the app i sent previously, opening of the output.pdf https://we.tl/t-zXugBciAUA
As a followup: the conversion in the animated gif is done on a windows server 2016 (in production, the conversion is also done on a windows server 2016).
I just tested the console app on my local windows 10 environment and then the output seems correct! This is in fact the only difference i might see right now. Are you perhaps in the possibility to test this console app on a windows server 2016 to maybe be able to reproduce my behaviour?
EDIT:
tested on Windows Server 2012R2: incorrect conversion
tested on another Windows 10: incorrect conversion
tested on Windows 11: incorrect conversion
Are there any specific system references Groupdocs uses?
Hello, great thinking, iāll check differences in installed fonts and try to extract the fonts used in the two different pdf documents,
already big thanks for your assistance
EDIT:
noticed this difference when comparing the wrongly converted and the correctly converted docx. DejaVu-font seem to be missing image.png (12.0 KB)
However, in the docx i cannot find this font to be used (i analysed the contents of the docx as zip and cannot see that dejavu font is used anywhere)
I can confirm that after adding the missing font, the conversion works perfectly. But this DejaVu font is non-standard isnāt it? I have no idea where it comes from
This issue is still under investigation. Please note that all the free support tickets are assisted on first come first served basis. However, weāll let you know in case of any update.
Sorry for the late reply, using the FontSubstitution works, however, the UseTextShaper property throws an error here. Just not using it fixes it, so no problem