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

Free Support Forum - aspose.com

Docx to Pdf (Aspose.Words) with Algerian or EuroStyle fonts

Create a new Word 2007 document
write a small text with Algerian font
save it under .docx
run this C# program

Aspose.Words.Document mDocument;
mDocument = new Aspose.Words.Document(fileNameDocX);

you obtain this error :

Exception non gérée : System.InvalidOperationException: Cannot find table 'fpgm' in the font file.
à ?.?.?(String ?)
à ?.?.?()
à ?.?.?(? ?, ? ?, Stream ?)
à ?.?.SubsetFont(Stream dstStream)
à ?.?.WriteToPdf(? writer)
à ?.?.WriteToPdf(? writer)
à ?.?.WriteToPdf(? writer)
à ?.?.?(? ?, ? ?)
à ?.?.WriteToPdf(? writer)
à ?.?.WriteToPdf(? writer)
à ?.?.?()
à Aspose.Words.Document.SaveToPdf(Int32 pageIndex, Int32 pageCount, Stream stream, PdfOptions options)
à Aspose.Words.Document.?(Stream ?, String ?, SaveFormat ?)
à Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)
à Aspose.Words.Document.Save(String fileName)

This proble occur with Aspose.Words 2008.11.28

Thanks for your request. I can’t reproduce this problem on my side. Could you please attach your document for testing? I will further investigate the issue and provide you more information.
Best regards.

Here is my document and Alger.TTF

Thank you for additional information. I managed to reproduce the problem on my side and created new issue #6860 in our defect database. I will notify you as soon as it is fixed.
Best regards.

The issues you have found earlier (filed as 6860) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by alexey.noskov.