When I convert a document from pdf to png image format by using Aspose.Words dll, the font styles are not getting converted properly and the fonts used on the original document is totally off.
.NET Framework = .NET 6.0
Library = Aspose.Words.dll v.22.6.0
Hosting Server = Rocky Linux
So far, I have tried below options as per the Aspose documentation, but unfortunately nothing worked out.
Reference : https://docs.aspose.com/words/net/how-to-run-aspose-words-in-docker/#configuring-a-dockerfile
- Installed “SkiaSharp.NativeAssets.Linux” and also installed libfontconfig1. This option is not working.
- Installed “SkiaSharp.NativeAssets.Linux.NoDependencies” and it is also not working.
Could you please suggest how can we resolve this issue as it is a core part of our project development.