Font Dir Configuration in Latest 20.10.1 version

Hello,
We were using GroupDocs.Conversion-19.10 and due to some issue we are planning to upgrade to version 20.10.1 latest.
How to configure fonts director in this latest 20.10.1 version
earlier in the old version we have an option like
ConversionConfig conversionConfig = new ConversionConfig();
conversionConfig.setUseCache(Boolean.FALSE);
conversionConfig.getFontDirectories().add(“Path/to /Font /dir”);
but now in letest version there no way to confiigure Font Directory, we gone through a documentation but didnt get anything there about font directory configuration.

Thank You.

1 Like

@swapnilkumbhar

We’re investigating this scenario. Your investigation ticket ID is CONVERSIONJAVA-1135. You’ll be notified in case of any update.

1 Like

I got something like this,

ConverterSettings converterSetting = new ConverterSettings();
List fontDires = new ArrayList<>();
fontDires.add(“Path/to/font/Directory”);
converterSetting.setFontDirectories(fontDires);
Converter converter = new Converter(inputfile,pdfLoadOptions,converterSetting);

please confirm if we use this convertor then it uses fonts from this directory if not available in the system font.

Thank you

1 Like

@swapnilkumbhar

Yes, in this case, if font is not available or installed, it’ll be used from the specified directory.