resvg_options_set_fantasy_family method

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

@brief Sets the fantasy font family.

Must be UTF-8. NULL is not allowed.

Has no effect when the text feature is not enabled.

Default: Papyrus on macOS, Impact on other OS'es

Implementation

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