docs
Loading...
Searching...
No Matches
CAPI_FontFile.h

Overview

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.

See also
ULFontLoader

Functions

ULFontFile ulFontFileCreateFromFilePath (ULString file_path)
 Create a font file from an on-disk file path.
ULFontFile ulFontFileCreateFromBuffer (ULBuffer buffer)
 Create a font file from an in-memory buffer.
void ulDestroyFontFile (ULFontFile font_file)
 Destroy font file.

Function Documentation

◆ ulDestroyFontFile()

void ulDestroyFontFile ( ULFontFile font_file)

Destroy font file.

◆ ulFontFileCreateFromBuffer()

ULFontFile ulFontFileCreateFromBuffer ( ULBuffer buffer)

Create a font file from an in-memory buffer.

◆ ulFontFileCreateFromFilePath()

ULFontFile ulFontFileCreateFromFilePath ( ULString file_path)

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

Note
The file path should already exist.

Go to the source code of this file.