resvg_options_set_fantasy_family in resvg - Rust
Description: @brief Sets the `fantasy` font family.

# Function resvg::resvg_options_set_fantasy_family

source ·

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

Expand description

@brief Sets the `fantasy` font family.

Must be UTF-8. NULL is not allowed.

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

Default: Papyrus on macOS, Impact on other OS’es