Loading...
Searching...
No Matches
CAPI_FontFile.h File Reference

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

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.

Go to the source code of this file.