Can you please share source file along with generated result and sample code so that we may further investigate to help you out.
I have worked with the file shared by you and have been able to observe the issue specified. An issue with ID CADJAVA-501 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
I found a phenomenon.When my drawings were saved, they were not all in the window.You will see this phenomenon when you open my drawings in CAD and compare them with PDF files.After my test DWG converted PDF, I could only convert the screen in the window.
Thank you, kind regards!