Hi Andrey, thanks for the reply.
I have checked this issue a little bit more.
It seams like you were right, it is not a unsupported font issue, it is something else.
I have tried to open the document and manually convert it through MSWord and through ASPOSE dll and it was the same.
I think that during the automatic conversion on the server there is a modification for the font appearance. maybe you can help me modify this modifications to my ASPOSE conversion.
we are using the following code in our conversion:
OpenDocument(aFileName);
mDocument.ActiveWindow.View.Type = WdViewType.wdNormalView;
int argb = Color.FromKnownColor(KnownColor.White).ToArgb();
int backcolor = Microsoft.VisualBasic.Information.RGB((Color.FromArgb(argb).R), (Color.FromArgb(argb).G), (Color.FromArgb(argb).B));
mDocument.Background.Fill.ForeColor.RGB = backcolor;
mDocument.Background.Fill.Solid();
SaveAs(aFileName.Replace(".doc", fileExtension), format);
mDocument.Close(ref oFalse, ref oMissing, ref oMissing);
And so far, this is what I have built to do the same thing through the ASPOSE dll:
Aspose.Words.Document doc = new Aspose.Words.Document(new MemoryStream(aDocument));
doc.BackgroundShape.FillColor = Color.White; // doc files are saved with red background on the server, changing to white anyway
MemoryStream outStream = new MemoryStream();
doc.Save(outStream, saveFormat);
return outStream.GetBuffer();
Don’t mind the white background color, in our database all document has red color.
Thanks again, we are very close :-).