| 1024 | } |
| 1025 | |
| 1026 | int WordLength(const char *pText) const |
| 1027 | { |
| 1028 | const char *pCursor = pText; |
| 1029 | while(true) |
| 1030 | { |
| 1031 | if(*pCursor == '\0') |
| 1032 | return pCursor - pText; |
| 1033 | if(*pCursor == '\n' || *pCursor == '\t' || *pCursor == ' ') |
| 1034 | return pCursor - pText + 1; |
| 1035 | str_utf8_decode(&pCursor); |
| 1036 | } |
| 1037 | } |
| 1038 | |
| 1039 | bool LoadFontCollection(const char *pFontName, const FT_Byte *pFontData, FT_Long FontDataSize) |
| 1040 | { |
nothing calls this directly
no test coverage detected