You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently, opportunities() may generate erroneous hyphenation for uppercase words that contain special-cased characters. (There is no risk of runtime panic, since all opportunities outside character boundaries are discarded.)
Two acceptable approaches would be to either discard any opportunity arising within expanded regions of the folded string, or trace it back into the original unfolded strings; in the latter case, the opportunity could be shifted to the left or right bound of the character in the unfolded string, respectively if the weight marks the first character of the expanded region or any subsequent one.
The text was updated successfully, but these errors were encountered:
Presently,
opportunities()
may generate erroneous hyphenation for uppercase words that contain special-cased characters. (There is no risk of runtime panic, since all opportunities outside character boundaries are discarded.)Two acceptable approaches would be to either discard any opportunity arising within expanded regions of the folded string, or trace it back into the original unfolded strings; in the latter case, the opportunity could be shifted to the left or right bound of the character in the unfolded string, respectively if the weight marks the first character of the expanded region or any subsequent one.
The text was updated successfully, but these errors were encountered: