Use PNG files for tests and examples

These are much smaller than the previous BMP files

Fixes https://github.com/libsdl-org/SDL/issues/14159
This commit is contained in:
Sam Lantinga committed 2025-10-06 16:45:53 -07:00
1 parent 7454302cd0
commit bb0d6221c1
143 files changed
+10608 -147151

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@
#include "testutils.h"
/* This font was created with:
* ./msdf-atlas-gen.exe -font OpenSans-VariableFont_wdth,wght.ttf -chars '[32,126]' -type msdf -potr -yorigin top -imageout msdf_font.bmp -csv msdf_font.csv
* ./msdf-atlas-gen.exe -font OpenSans-VariableFont_wdth,wght.ttf -chars '[32,126]' -type msdf -potr -yorigin top -imageout msdf_font.png -csv msdf_font.csv
*/
/* This is the distance field range in pixels used when generating the font atlas, defaults to 2 */
@@ -55,7 +55,7 @@ static GlyphInfo glyphs[128];
static bool LoadFontTexture(void)
{
font_texture = LoadTexture(renderer, "msdf_font.bmp", false);
font_texture = LoadTexture(renderer, "msdf_font.png", false);
if (!font_texture) {
SDL_Log("Failed to create font texture: %s", SDL_GetError());
return false;