Compress pdf use OptimizationOptions

When I compress the pdf file using aspose, use pdfDoc.OptimizeResources(optimizeOptions);
optimizationOptions.UnembedFonts when set to true.
The compressed pdf file is opened with preview on the mac and found that the text in the pdf has become dots. Copy these points and paste them into txt to still see the original text. How is this going
截屏2022-09-28 16.13.13.png (69.6 KB)

@kangkang

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input PDF document and fonts used in your PDF.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please attach the expected output PDF file that shows the desired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.