DWG to PDF: some layer lines not shown

Hi,

While testing the conversion of DWG to PDF, using Aspose.CAD for Java v17.12, I found some layer lines not shown in the output pdf file

My dwg file dwg.zip (206.0 KB)
and the output pdf pdf.zip (52.5 KB)

My env is Ubuntu 14.04 with openjdk64-1.7.0.151

My code is below

    CadImage cadImage = (CadImage) Image.load(srcFile.getAbsolutePath());
    
    
    CadRasterizationOptions rasterizeOptions = new CadRasterizationOptions();
    rasterizeOptions.setPageWidth(1200);
    rasterizeOptions.setPageHeight(1200);
    rasterizeOptions.setAutomaticLayoutsScaling(true);
    rasterizeOptions.setDrawType(CadDrawTypeMode.UseObjectColor);
    rasterizeOptions.setLayouts(new String[]{"Model"});
    
    PdfOptions pdfOptions = new PdfOptions();
    pdfOptions.setVectorRasterizationOptions(rasterizeOptions);
    cadImage.save(dstFile.getAbsolutePath(), pdfOptions);

@lvbingwu123,

I have worked with file shared by you using Aspose.CAD for Java 17.12 and have been able to observe the issue. We have added an issue with ID CADJAVA-198 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 automatically notified once the issue will be fixed.

We are sorry for your inconvenience,

The issues you have found earlier (filed as CADJAVA-198) have been fixed in this update.