Skip to content

Latest commit

 

History

History

FontSubsetting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Subset PDF fonts in C# and VB.NET

This sample shows how to optimize fonts in PDF documents using Docotic.Pdf library.

Description

Use PdfDocument.RemoveUnusedFontGlyphs methods to optimize PDF fonts. These methods remove unused glyphs from the fonts and can significantly reduce output file size.

You can also optimize individual fonts using PdfFont.RemoveUnusedGlyphs method.

This sample shows only one approach to reduce size of a PDF. Please check Compress PDF documents in C# and VB.NET sample code to see more approaches.

See also