fontawesome-subset
Version:
Utility to create subsets for FontAwesome and FontAwesome Pro.
16 lines (15 loc) • 767 B
TypeScript
/**
* Author: Logan Graham <loganparkergraham@gmail.com>
*/
import { FontAwesomeOptions, SubsetOption } from "./types";
/**
* This function will take an object of glyph names and output a subset of the standard fonts optimized in size for
* use on websites / external resources.
*
* @param subset Array or Object containing glyph / font family names.
* @param outputDir Directory output generated webfonts.
* @param options Object of options / tweaks for further customization. Defaults to 'Free' package.
*/
declare function fontawesomeSubset(subset: SubsetOption, outputDir: string, options?: FontAwesomeOptions): Promise<boolean>;
export { fontawesomeSubset };
export { FontAwesomeOptions, Subset, SubsetOption, GlyphName } from "./types";