* Get a FontConfig-style string from a std::string. * @param str String to be passed to FontConfig. * @return FontConfig-style string. */
| 30 | * @return FontConfig-style string. |
| 31 | */ |
| 32 | static const FcChar8 *ToFcString(const std::string &str) |
| 33 | { |
| 34 | return reinterpret_cast<const FcChar8 *>(str.c_str()); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Get a C-style string from a FontConfig-style string. |
no test coverage detected