resvg_options_set_font_family method

void resvg_options_set_font_family(
  1. Pointer<resvg_options> opt,
  2. Pointer<Char> family
)

@brief Sets the default font family.

Will be used when no font-family attribute is set in the SVG.

Must be UTF-8. NULL is not allowed.

Default: Times New Roman

Implementation

void resvg_options_set_font_family(
  ffi.Pointer<resvg_options> opt,
  ffi.Pointer<ffi.Char> family,
) {
  return _resvg_options_set_font_family(
    opt,
    family,
  );
}