MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / FromFcString

Function FromFcString

src/os/unix/font_unix.cpp:42–45  ·  view source on GitHub ↗

* Get a C-style string from a FontConfig-style string. * @param str String from FontConfig. * @return C-style string. */

Source from the content-addressed store, hash-verified

40 * @return C-style string.
41 */
42static const char *FromFcString(const FcChar8 *str)
43{
44 return reinterpret_cast<const char *>(str);
45}
46
47/**
48 * Split the font name into the font family and style. These fields are separated by a comma,

Callers 2

GetFontByFaceNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected