resvg_options_load_font_file method
@brief Loads a font file 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.
@return #resvg_error with RESVG_OK, RESVG_ERROR_NOT_AN_UTF8_STR or RESVG_ERROR_FILE_OPEN_FAILED
Implementation
int resvg_options_load_font_file(
ffi.Pointer<resvg_options> opt,
ffi.Pointer<ffi.Char> file_path,
) {
return _resvg_options_load_font_file(
opt,
file_path,
);
}