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

# Function resvg::resvg_options_load_system_fonts

source ·

    #[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.