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
{{ message }}
Repository navigation
Ligatures in TextAreas cause a misaligned cursor #125
Type "ff" followed by any character. (You may notice it becomes a ligature.)
Press the left arrow key to move the text cursor one character back. Observe that the text cursor does not move.
Type any character. Observe that it appears in the wrong place.
This textarea has font-family: monospace. Should ligatures even be appearing? If not, is that the whole reason we're hitting this problem, or is it a separate bug?
I think ligatures can happen with monospace, the fancy >= on some coding fonts is an example. So it is technically permitted to have them. However, they are usually not what you want for alphanumeric characters under monospace. I didn't even know that the fonts built into osx support monospace ligatures. I think most fonts have a way to disable them (something something liga table, or font-variant-ligatures)
Activity
krackers commentedon Aug 10, 2026
I think ligatures can happen with monospace, the fancy >= on some coding fonts is an example. So it is technically permitted to have them. However, they are usually not what you want for alphanumeric characters under monospace. I didn't even know that the fonts built into osx support monospace ligatures. I think most fonts have a way to disable them (something something
ligatable, orfont-variant-ligatures)Shape at CTLine's default ligature level in the CTFontShapeGlyphs pol…