I am evaluating Aspose.Pdf for possible use in a document processing system my client wants to develop.
I am using TextFragmentAbsorber to locate TextFragments containing placeholder text strings. This works VERY nicely.
However, if I set TextFragment.Text = String.Empty to clear a CourierNew placeholder text string, a 190K CourierNew font file is being automatically embedded in the output PDF file. Here are the objects being added:
278 0 obj
<</Descent -300/FontName/CourierNew/Ascent 832/FontFile2 282 0 R/Flags 32/StemV 0/CapHeight 650/ItalicAngle 0/FontBBox[-21 -679 637 1020]/Type/FontDescriptor>>
endobj
282 0 obj
<</Length1 303296/Filter/FlateDecode/Length 192980>>stream....
Is there a way to prevent this font file from being embedded?
If not, is there a way to remove the embedded font file?