Module subsetting

Module subsetting 

Source
Expand description

Font subsetting module using the subsetter crate.

This module provides functionality to create subset fonts that contain only the glyphs actually used in a document, significantly reducing PDF file sizes.

Functionsยง

collect_used_chars
Collects all unique characters from a string.
subset_font
Creates a subset of a font containing only the specified characters.