# the current character meets the requested maximum line width,
# so we need to backtrack and find a space at which to wrap;
# special care is taken to avoid an off-by-one in case the
# current character is a double-width glyph
elif each_character != u"\r" and (
# the current character meets the requested maximum line width,
# so we need to backtrack and find a space at which to wrap;
# special care is taken to avoid an off-by-one in case the
# current character is a double-width glyph
elif each_character != u"\r" and (