resvg_options_load_system_fonts in resvg - Rust
Description: @brief Loads system fonts into the internal fonts database.

Skip to main content

## resvg_options_load_system_fonts

# Function resvg_options_load_system_fonts

Source

    #[unsafe(no_mangle)]pub extern "C" fn resvg_options_load_system_fonts(
        opt: *mut resvg_options,
    )

Expand description

@brief Loads system fonts into the internal fonts database.

This method is very IO intensive.

This method should be executed only once per #resvg_options.

The system scanning is not perfect, so some fonts may be omitted. Please send a bug report in this case.

Prints warnings into the log.

Has no effect when the `text` feature is not enabled.