* Load font from file (filename must include file extension) */
| 318 | * Load font from file (filename must include file extension) |
| 319 | */ |
| 320 | RLCPP_MAYBEUNUSED RLCPPAPI inline ::Font |
| 321 | LoadFontEx(const std::string& fileName, int fontSize, const int* codepoints = nullptr, int codepointCount = 0) { |
| 322 | return ::LoadFontEx(fileName.c_str(), fontSize, codepoints, codepointCount); |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * Measure string width for default font |