ass_set_fonts_dir method

void ass_set_fonts_dir(
  1. Pointer<ASS_Library> priv,
  2. Pointer<Char> fonts_dir
)

\brief Set additional fonts directory. Optional directory that will be scanned for fonts. The fonts found are used for font lookup. NOTE: A valid font directory is not needed to support embedded fonts. On Microsoft Windows, when using WIN32-APIs, fonts_dir must be in either UTF-8 mixed with lone or paired UTF-16 surrogates encoded like in CESU-8 or the encoding accepted by fopen with the former taking precedence if both versions are valid and exist. On all other systems there is no need for special considerations like that.

\param priv library handle \param fonts_dir directory with additional fonts

Implementation

void ass_set_fonts_dir(
  ffi.Pointer<ASS_Library> priv,
  ffi.Pointer<ffi.Char> fonts_dir,
) {
  return _ass_set_fonts_dir(
    priv,
    fonts_dir,
  );
}