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

# Fonts change during Word to TIF conversion

See original .docx file and resulting TIFs differ.
Also TIF page is at least 10x bigger.
**source is attached.
Test file - Fonts and sizes word.docx (16.7 KB)
Test file - Fonts and sizes word.docx (16.7 KB)
Test file - Fonts and sizes change.zip (202.4 KB)sampleSource.zip (691 Bytes)

@gutfinger Fonts might be changed because the required fonts are not available and are substituted by Aspose.Words. You can check what fonts are substituted by implementing IWarningCallback:

Document doc = new Document(@"C:\Temp\in.docx");
doc.WarningCallback = new WarningCallback();
ImageSaveOptions opt = new ImageSaveOptions(SaveFormat.Tiff);
for (int i = 0; i < doc.PageCount; i++)
{
opt.PageSet = new PageSet(i);
doc.Save(string.Format(@"C:\Temp\page_{0}.tiff", i), opt);
}

private class WarningCallback : IWarningCallback
{
public void Warning(WarningInfo info)
{
if (info.WarningType == WarningType.FontSubstitution)
Console.WriteLine(info.Description);
}
}


Regarding the output file size, it depend on the output file format and its compression.

Why is Aspose saying the fonts aren’t there if we see them inside the Word document?
Moreover, I even succeeded in creating a new Word document with the same font (Font ‘Walbaum Display Heavy’).
Therefore, the font is there and available for use in TIF conversion.

Thanks,
Ron

@gutfinger By default fonts are not embedded into MS Word document, like in HTML there is only font name and the document consumer app searches for fonts and substitutes them if required.
However, you can embed font into MS Word document. In this case Aspose.Words will use the fonts embedded into the document.