resvg_options_set_font_family in resvg - Rust
Description: @brief Sets the default font family.

Skip to main content

## resvg_options_set_font_family

# Function resvg_options_set_font_family

Source

    #[unsafe(no_mangle)]pub extern "C" fn resvg_options_set_font_family(
        opt: *mut resvg_options,
        family: *const c_char,
    )

Expand description

@brief Sets the default font family.

Will be used when no `font-family` attribute is set in the SVG.

Must be UTF-8. NULL is not allowed.

Default: Times New Roman