Function

HarfBuzz-0.0HarfBuzzblob_create_from_file_or_failSince 2.8.2

  • Creates a new blob containing the data from the specified file.

    The filename is passed directly to the system on all platforms, except on Windows, where the filename is interpreted as UTF-8. Only if the filename is not valid UTF-8, it will be interpreted according to the system codepage.

    Parameters

    • file_name: string

      A filename

    Returns blob_t

    An HarfBuzz.blob_t pointer with the content of the file, or NULL if failed.

    2.8.2