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
Add text with flag emoji and specify charspacing so that variable shortCut is false.
Reason behind error:
Well the error happens because in case charSpacing is specified it will render the text by each character seperately.
The lines divided by character are stored seperately in _textLines attribute, it is generated by _splitTextIntoLines method.
The problem is that the flag emoji is constructed from two Unicode characters (source) and the graphemeSplit function will return it as two separate characters.
I'll try to make a pr to bugfix this if this doesnt turn too difficult to change.