| 27 | } |
| 28 | |
| 29 | uint32_t FontRenderer::DecodeUTF8(const char*& ptr) |
| 30 | { |
| 31 | uint32_t cp = 0xFFFD; |
| 32 | int consumed = DecodeUtf8Codepoint(ptr, &cp); |
| 33 | if (consumed <= 0) |
| 34 | consumed = 1; |
| 35 | ptr += consumed; |
| 36 | return cp; |
| 37 | } |
| 38 | |
| 39 | FontRenderer::FontRenderer() |
| 40 | { |
nothing calls this directly
no test coverage detected