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{