CAD preview does not support Chinese

We found that the CAD format preview does not support Chinese very well, as shown in the screenshot below. And also I have uploaded my sample CAD document please check and reply me.

Many thanks.

Sample.dwg.zip (72.0 KB)

image.jpg (248.5 KB)

@Yizhang,
Hello. We need more details to reproduce this. I used this code:

using (Aspose.CAD.Image cadImage = Aspose.CAD.Image.Load(fileName))
{
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
rasterizationOptions.PageWidth = 4000;
rasterizationOptions.PageHeight = 4000;
rasterizationOptions.Layouts = new string[] { “Model” };
PdfOptions pdfOptions = new Aspose.CAD.ImageOptions.PdfOptions();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(outPath, pdfOptions);
}

Here is the result: Sample.dwg.pdf (503.9 KB)

@Yizhang,

loading of SHX fonts with

rasterizationOptions.ShxFonts = new string[] {
“PathTo\gbcbig.shx”,
“PathTo\gbenor.shx”,
};

additionally allows to scale these symbols and make them thin.

@Yizhang,
as I can see, there are some issues with SHX for Java, I created CADJAVA-10799 to cover this.