Bug #1189
- Fixed bug #1189, which caused wide Asian UTF8 characters to be measured as narrow characters (thanks to Roy Zuo).
This commit is contained in:
@@ -122,7 +122,7 @@ std::string ViewText::render ()
|
||||
for (unsigned int col = 0; col < _columns.size (); ++col)
|
||||
{
|
||||
// Headers factor in to width calculations.
|
||||
unsigned int global_min = utf8_length (_columns[col]->label ());
|
||||
unsigned int global_min = utf8_width (_columns[col]->label ());
|
||||
unsigned int global_ideal = global_min;
|
||||
|
||||
for (unsigned int row = 0; row < _data.size (); ++row)
|
||||
|
||||
Reference in New Issue
Block a user