We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Dwg在转化为dxf文件时中文乱码

public static void dwgConvertDxf(){
String dataDir = “D:\work\learn\cad\gx\”;
String inputFile = dataDir+ “test.dwg”;
String outFile = dataDir+ “tets.dxf”;
CadImage cadImage = (CadImage)Image.load(inputFile);
for(Object style : cadImage.getStyles())//
{
// Set the font name Arial
((com.aspose.cad.fileformats.cad.cadtables.CadStyleTableObject)style).setPrimaryFontName(“simsun”);
}
cadImage.save(outFile);
}

@jiangbing,
we need also your initial DWG file to understand the source of the issue.