fix space no good character

This commit is contained in:
jrkb 2023-09-06 12:51:47 +02:00
parent b2cfc9ffd8
commit dda49a89ea

View file

@ -1377,6 +1377,7 @@ class Font {
while(!hasGoodCharacter && i < variationTextAppearance.size() - 1){ while(!hasGoodCharacter && i < variationTextAppearance.size() - 1){
if(variationTextAppearance[i].charcode == '\0' if(variationTextAppearance[i].charcode == '\0'
|| variationTextAppearance[i].charcode == '\r' || variationTextAppearance[i].charcode == '\r'
|| variationTextAppearance[i].charcode == ' '
|| variationTextAppearance[i].charcode == '\n'){ || variationTextAppearance[i].charcode == '\n'){
i++; i++;
}else{ }else{