SDL_ttf
SDL_ttf copied to clipboard
Better error log in Load_Glyph
There are 6 different reasons that could lead SDL to log "Couldn't find glyph" when an error occurs in Load_Glyph.
It would be nice if each of those had a specific log of it's own instead.
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2110-L2113
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2243-L2246
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2250-L2253
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2260-L2264
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2275-L2278
https://github.com/libsdl-org/SDL_ttf/blob/622ccd655e9b0c3298f1b85fe2869e0beca97ea3/SDL_ttf.c#L2322-L2325