VKVG  
Vulkan Vector Graphics

◆ vkvg_load_font_from_memory()

void vkvg_load_font_from_memory ( VkvgContext  ctx,
unsigned char *  fontBuffer,
long  fontBufferByteSize,
const char *  name 
)
Parameters
ctxa valid vkvg Context
fontBuffera pointer to a raw font file loaded in memory.
fontBufferByteSizethe size of the font buffer in bytes.
nameA short name to select this font afteward