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

Free Support Forum - aspose.com

Saving Images missing Font

I use Aspose.Words to convert a existing doc to png.In the doc,I use chinese font.When the png image created,the font is missing.

Document doc = new Document(filepath);
ImageSaveOptions imageOptions = new ImageSaveOptions(SaveFormat.Png);
imageOptions.PrettyFormat = true;
imageOptions.UseHighQualityRendering = true;
doc.Save(pngpath, imageOptions);

Hi Feng,

Thanks for your inquiry.

Please note that Aspose.Words requires TrueType fonts when
rendering documents to fixed-page formats (JPEG, PNG, PDF or XPS). Make sure
you have all the Fonts installed on your machine you’re using to convert
Word document to image format. I would suggest you please read the
following articles:

you still face problem, please share following detail for investigation purposes.

What environment are you running on?

  • OS (Windows Version or Linux Version)
  • Architecture (32 / 64 bit)
  • .NET Framework