Description
It’s always pending with long time when I call doc.FontUtilities.SubsetFonts
.
Env
- Windows 11
- Aspose.PDF for .NET 23.12
Code
void Main()
{
var doc = new Aspose.Pdf.Document(@"C:\Users\Administrator\Desktop\1.pdf");
doc.FontUtilities.SubsetFonts(FontSubsetStrategy.SubsetAllFonts);
doc.Save(@"C:\Users\Administrator\Desktop\out.pdf", SaveFormat.Pdf);
}
Preview
image.png (118.7 KB)
Test File
1.pdf (215.3 KB)