resvg_options_set_text_rendering_mode in resvg - Rust
Description: @brief Sets the default text rendering method.

# Function resvg_options_set_text_rendering_mode

Source

    #[no_mangle]
    pub extern "C" fn resvg_options_set_text_rendering_mode(
        opt: *mut resvg_options,
        mode: resvg_text_rendering,
    )

Expand description

@brief Sets the default text rendering method.

Will be used when an SVG element’s `text-rendering` property is set to `auto`.

Default: `RESVG_TEXT_RENDERING_OPTIMIZE_LEGIBILITY`