resvg_options_load_font_data method

void resvg_options_load_font_data(
  1. Pointer<resvg_options> opt,
  2. Pointer<Char> data,
  3. int len
)

@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.

Implementation

void resvg_options_load_font_data(
  ffi.Pointer<resvg_options> opt,
  ffi.Pointer<ffi.Char> data,
  int len,
) {
  return _resvg_options_load_font_data(
    opt,
    data,
    len,
  );
}