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

Free Support Forum - aspose.com

Throw exception about the same key have been added when call FontUtilities.SubsetFonts


Aspose.PDF throw an exception when call FontUtilities.SubsetFonts.


void Main()
	var doc = new Aspose.Pdf.Document(@"C:\Users\XCL\Desktop\test\source.pdf");

Error Preview

image.png (74.9 KB)

Test File

source.pdf (4.0 MB)


We have logged this problem in our issue tracking system as PDFNET-53335. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as PDFNET-53335) have been fixed in Aspose.PDF for .NET 23.2.