diff options
| author | raysan5 <[email protected]> | 2022-02-18 20:30:46 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2022-02-18 20:30:46 +0100 |
| commit | d4382f4a52e7631bf02ff8073ed24b282596ce0a (patch) | |
| tree | c0aaaee0698ea8e740ee7af6975df1db4949c8b7 /src/rtext.c | |
| parent | 963de06d08f28784e03b6cfa994d545f9e0ef8b5 (diff) | |
| download | raylib-d4382f4a52e7631bf02ff8073ed24b282596ce0a.tar.gz raylib-d4382f4a52e7631bf02ff8073ed24b282596ce0a.zip | |
Removed trailing spaces
Diffstat (limited to 'src/rtext.c')
| -rw-r--r-- | src/rtext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rtext.c b/src/rtext.c index a62f0d83..0a8af79e 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -825,7 +825,7 @@ void UnloadFont(Font font) bool ExportFontAsCode(Font font, const char *fileName) { bool success = false; - + #ifndef TEXT_BYTES_PER_LINE #define TEXT_BYTES_PER_LINE 20 #endif @@ -865,7 +865,7 @@ bool ExportFontAsCode(Font font, const char *fileName) Image image = LoadImageFromTexture(font.texture); if (image.format != PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA) TRACELOG(LOG_WARNING, "Font export as code: Font image format is not GRAY+ALPHA!"); int imageDataSize = GetPixelDataSize(image.width, image.height, image.format); - + // Image data is usually GRAYSCALE + ALPHA and can be reduced to GRAYSCALE //ImageFormat(&image, PIXELFORMAT_UNCOMPRESSED_GRAYSCALE); @@ -874,7 +874,7 @@ bool ExportFontAsCode(Font font, const char *fileName) // WARNING: Data is compressed using raylib CompressData() DEFLATE, // it requires to be decompressed with raylib DecompressData(), that requires // compiling raylib with SUPPORT_COMPRESSION_API config flag enabled - + // Compress font image data int compDataSize = 0; unsigned char *compData = CompressData(image.data, imageDataSize, &compDataSize); |
