MCPcopy Create free account
hub / github.com/defold/defold / FontGetLayoutType

Function FontGetLayoutType

engine/font/src/font.cpp:173–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173TextLayoutType FontGetLayoutType(HFont font)
174{
175#if defined(FONT_USE_HARFBUZZ) && defined(FONT_USE_SKRIBIDI)
176 if (font->m_Type == FONT_TYPE_STBTTF || font->m_Type == FONT_TYPE_STBOTF)
177 return TEXT_LAYOUT_TYPE_FULL;
178#endif
179 return TEXT_LAYOUT_TYPE_LEGACY;
180}
181
182static void Indent(int indent)
183{

Callers 1

FontCollectionAddFontFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected