add fullwidth CJK chars

This commit is contained in:
Jiachen Yang 2015-04-13 01:42:33 +09:00
parent 02c3a69cf1
commit 18a18ca22b

View file

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