mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 06:01:17 +02:00
- applied patch from LuckAs for better multi-byte character spacing
This commit is contained in:
@@ -49,7 +49,7 @@ float FontMetrics::getTextWidth(const string &str) const {
|
||||
}
|
||||
//Treat 2 byte characters as spaces
|
||||
if(str[i] < 0) {
|
||||
width+= widths[32];
|
||||
width+= widths[87]; // This is the letter W which is a fairly wide character and good to use for spacing
|
||||
i++;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user