drawing_register_font.h
Overview
The drawing_register_font.h file declares the functions related to the font manager in the drawing module.
File to include: <native_drawing/drawing_register_font.h>
Library: libnative_drawing.so
Since: 11
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
uint32_t OH_Drawing_RegisterFont (OH_Drawing_FontCollection*, const char* fontFamily, const char* familySrc) | Registers a custom font with the font manager. |
uint32_t OH_Drawing_RegisterFontBuffer (OH_Drawing_FontCollection*, const char* fontFamily, uint8_t* fontBuffer, size_t length) | Registers a font buffer with the font manager. |