Support team,
I am trying to convert DWG file to DXF using java code. My java code is working fine in WINDOWS but it is failing in Linux environment with below error
“Fontconfig error: No writable cache directories”
Here is the java code snippet.
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
Image image = Image.load(multpartFile.getInputStream());
DxfOptions options = new DxfOptions();
CadRasterizationOptions cadRasterizationOptions=new CadRasterizationOptions();
cadRasterizationOptions.setDrawType(CadDrawTypeMode.UseObjectColor);
options.setVectorRasterizationOptions(cadRasterizationOptions);
options.setOutputMode(CadOutputMode.Convert);
image.save(outputStream,options);
Please provide the inputs to proceed further.