Expand description
A library for extracting font names used in ASS (Advanced SubStation Alpha) subtitle files.
This crate provides functionality to detect the text encoding of an ASS file, read it, and
extract all required fonts correctly by parsing both the Styles section and inline font
overrides within Dialogue events (e.g. \fnFontName).
Functionsยง
- extract_
fonts - Extracts a unique, sorted list of font names used in the provided ASS subtitle content.
- read_
text_ auto - Reads a file into a
String, automatically detecting and decoding its character encoding.