20#ifndef ULTRALIGHT_CAPI_FONTFILE_H
21#define ULTRALIGHT_CAPI_FONTFILE_H
A fixed-size container for raw byte data.
Various defines and utility functions for the C API.
struct C_FontFile * ULFontFile
Definition CAPI_Defines.h:75
struct C_String * ULString
Definition CAPI_Defines.h:65
#define ULExport
Definition CAPI_Defines.h:38
struct C_Buffer * ULBuffer
Definition CAPI_Defines.h:66
ULExport void ulDestroyFontFile(ULFontFile font_file)
Destroy font file.
ULExport ULFontFile ulFontFileCreateFromFilePath(ULString file_path)
Create a font file from an on-disk file path.
ULExport ULFontFile ulFontFileCreateFromBuffer(ULBuffer buffer)
Create a font file from an in-memory buffer.
Unicode string container (natively UTF-8).