Ultralight C API 1.3.0
Loading...
Searching...
No Matches
CAPI_FontFile.h File Reference

Go to the source code of this file.

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.
 

Function Documentation

◆ ulDestroyFontFile()

ULExport void ulDestroyFontFile ( ULFontFile  font_file)

Destroy font file.

◆ ulFontFileCreateFromBuffer()

ULExport ULFontFile ulFontFileCreateFromBuffer ( ULBuffer  buffer)

Create a font file from an in-memory buffer.

◆ ulFontFileCreateFromFilePath()

ULExport ULFontFile ulFontFileCreateFromFilePath ( ULString  file_path)

Create a font file from an on-disk file path.

Note
The file path should already exist.