|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| bool Flint::UICanvas::loadFont | ( | std::vector< char > && | data, |
| const std::string & | fontName, | ||
| uint16_t | weight = 400 ) |
Registers raw binary TTF font file data into the subsystem memory allocator.
| data | Binary stream buffer moving the contents of the file. |
| fontName | Explicit identification key assigned to track this family grouping. |
| weight | Specific fallback prioritization code mapped to identify the variant typeface weight. |