SDL_ttf icon indicating copy to clipboard operation
SDL_ttf copied to clipboard

Better error log in Load_Glyph

Open ericoporto opened this issue 2 years ago • 0 comments

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

ericoporto avatar Feb 05 '23 22:02 ericoporto