PDF conversion - Gil Sans font is changed to serif font

When I convert a docx document to pdf, the Gil Sans font is changed to a serif font. The Aspose.Words.dll I am using is version 9.4.0.0.
My code looks like this:

doc.UpdateFields();
CompressImages(doc, 220);
doc.AcceptAllRevisions();
doc.UpdatePageLayout();
Stream fileOut = new MemoryStream();
Aspose.Words.Saving.PdfSaveOptions pdfOptions = new Aspose.Words.Saving.PdfSaveOptions();
pdfOptions.HeadingsOutlineLevels = 1;
pdfOptions.ExpandedOutlineLevels = 1;
pdfOptions.BookmarksOutlineLevel = 1;
pdfOptions.JpegQuality = Convert.ToInt32(50);
pdfOptions.TextCompression = Aspose.Words.Saving.PdfTextCompression.Flate;
doc.Save(fileOut, pdfOptions);
return fileOut;

Hi

Thanks for your inquiry. Could you please attach your input document and font here for testing? I will check the issue and provide you more information.
Best regards,

Attached is a word document with the Gils Sans MT font. Also attached is the PDF generated using the steps in my original post.

I figured this out - I had not realized that fonts that both Office and Aspose are dependent on the fonts installed on the host machine. I installed the Gil Sans MT font on the machine running my Aspose based program, and now the Gil Sans font is carried through to the pdf doucment.

Hi Ken,
It’s great you have resolved the issue. If you have any further questions please feel free to ask.
Thanks,