This sample demonstrates how the OptimizeFonts() method can be used to reduce the size of a PDF by combining duplicate and removing unused embedded fonts. The sample generates a non-optimized PDF by merging five separate PDF pages into a single file, records its size, them optimizes that PDF andrecords the optimized file's size. The results are printed into the PDF generated by this sample.