Is there any possibility to use the newly installed fonts without application restart supported by Aspose.Words?

Hello Aspose support,
We use your product (Aspose.Words) and we have a need to set up additional fonts in a system periodically.
At the moment, as we can see, newly installed fonts are not supported automatically by the Aspose.Words in a running application and we need to restart it.

So our question is - is there any possibility to use the newly installed fonts without application restart supported by Aspose.Words? Probably there is some API (method) which needs to be called to reload the fonts or something else.

Thanks in advance!
Olga

@vladpyshnenko,

We are checking this scenario and will get back to you soon.

@vladpyshnenko,

If we understand your use-case correctly, you install new fonts to the system (or adds them to the folder) and want that Aspose.Words will use them.

Currently, Aspose.Words scans the folders/sources specified in FontSettings class only one time and caches the scan result (see True Type Fonts). So if new fonts are added to specified folders, they will not be loaded by Aspose.Words. In order to load new fonts, you should call SetFontsFolders/SetFontsSources again which will reset the cache. But you should be aware that changing FontSettings while documents (which uses this instance) are in processing is not recommended. This may break document layout or rendering result.

Hope, this helps.

Yes, this is our case.
Thank you for your answer, we will try this approach.