Skip to main content

Crate fontc

Crate fontc 

Source
Expand description

A font compiler with aspirations of being fast and safe.

Modules§

work
Helps fontc manage workloads that span FE and BE.

Structs§

DisableFlags
Flags to explicitly disable, overriding source defaults.
Flags
Options
Options for font compilation.

Enums§

Error
Input
The input source for the font compiler.

Functions§

generate_font
Run and return an OpenType font
init_paths
require_dir
run
Run the compiler with the provided input and options.
version
The canonical fontc version string (e.g. 0.6.1-dev.394+gd62ba016.dirty), reported by --version/--vv and stamped into the name table of every font fontc builds. See the version module and https://github.com/googlefonts/fontc/issues/2048.
write_font_file