Ultralight C API 1.4.0
|
Font file interface.
#include <Ultralight/CAPI/CAPI_FontFile.h>
The font file interface represents a font file: either on-disk path or in-memory file contents.
Functions | |
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. | |
ULExport void | ulDestroyFontFile (ULFontFile font_file) |
Destroy font file. | |
ULExport void ulDestroyFontFile | ( | ULFontFile | font_file | ) |
Destroy font file.
ULExport ULFontFile ulFontFileCreateFromBuffer | ( | ULBuffer | buffer | ) |
Create a font file from an in-memory buffer.
ULExport ULFontFile ulFontFileCreateFromFilePath | ( | ULString | file_path | ) |
Create a font file from an on-disk file path.