![](../resources/images/blend2d-logo.png)
Blend2D
2D Vector Graphics Engine
Font manager [C++ API].
Tests whether the font-manager is a valid FontManager and not a built-in default instance.
Returns the number of BLFontFace instances the font manager holds.
Returns the number of unique font families the font manager holds.
Tests whether the font manager contains the given font face
.
Adds a font face
to the font manager.
Important conditions:
BL_SUCCESS
is returned if the face
was successfully added to font manager or if font manager already held it.BL_ERROR_FONT_NOT_INITIALIZED
is returned if the font face
is invalid.BL_ERROR_OUT_OF_MEMORY
is returned if memory allocation failed. Queries a font face by family name
and stores the result to out
.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Queries a font face by family name
and stores the result to out
.
A properties
parameter contains query properties that the query engine will consider when doing the match. The best candidate will be selected based on the following rules:
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Queries all font faces by family name
and stores the result to out
.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.