Correct widths for most Ambiguous Width characters

This commit is contained in:
Kenzie Togami 2015-12-19 23:17:26 -08:00
parent 42280dbdb5
commit 3f83f43df4

View file

@ -459,7 +459,7 @@ class Backend():
i += 1
if not UCS.isCombining(c):
rc += 1
if unicodedata.east_asian_width(c) in ('F', 'W', 'A'):
if unicodedata.east_asian_width(c) in ('F', 'W'):
rc += 1
return rc