Function resvg::resvg_options_load_font_data
source · #[no_mangle]
pub extern "C" fn resvg_options_load_font_data(
opt: *mut resvg_options,
data: *const c_char,
len: usize
)
Expand description
@brief Loads a font data into the internal fonts database.
Prints a warning into the log when the data is not a valid TrueType font.
Has no effect when the text
feature is not enabled.