From dda49a89ea18e887367eb08b388ee7f68e70e887 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Wed, 6 Sep 2023 12:51:47 +0200 Subject: [PATCH] fix space no good character --- src/gpufont/font.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpufont/font.hpp b/src/gpufont/font.hpp index 5377948..5890e64 100644 --- a/src/gpufont/font.hpp +++ b/src/gpufont/font.hpp @@ -1377,6 +1377,7 @@ class Font { while(!hasGoodCharacter && i < variationTextAppearance.size() - 1){ if(variationTextAppearance[i].charcode == '\0' || variationTextAppearance[i].charcode == '\r' + || variationTextAppearance[i].charcode == ' ' || variationTextAppearance[i].charcode == '\n'){ i++; }else{