resvg_options_load_system_fonts method

void resvg_options_load_system_fonts(
  1. Pointer<resvg_options> opt
)

@brief Loads system fonts into the internal fonts database.

This method is very IO intensive.

This method should be executed only once per #resvg_options.

The system scanning is not perfect, so some fonts may be omitted. Please send a bug report in this case.

Prints warnings into the log.

Has no effect when the text feature is not enabled.

Implementation

void resvg_options_load_system_fonts(
  ffi.Pointer<resvg_options> opt,
) {
  return _resvg_options_load_system_fonts(
    opt,
  );
}