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

Free Support Forum - aspose.com

Equation Minus missing in output HTML image

please convert attached docx to HTML with equations as images. Using the latest Aspose Words (21.11).

Basically minus is missing from equation:
screenshot (4.6 KB)

minus_bug.docx (13.2 KB)


@leftofcentre The problem occurs because quality of the image is low. You can resolve this by specifying resolution in HtmlSaveOptions. For example see the following code:

Document doc = new Document(@"C:\Temp\in.docx");
HtmlSaveOptions opt = new HtmlSaveOptions();
opt.ImageResolution = 120;
doc.Save(@"C:\Temp\out.html", opt);

you are good information.