Cursor position desyncs when writing lowercase FI or FF
Not downloaded yet
Hello everyone,
I've had this arch install for 2 years and some time ago I noticed this problem on "custom" text editors like OverLeaf, on different browsers. Thought it was site related, and moved on, since I didn't actually need this service.
Whenever i type "ff" or "fi" the space the letters take is compressed (as shown in the gif), while the cursor moves the the location it "should" be. New lines have no problems until i write those 2 combinations again. I tried changing fonts -monospace also- with no results. Any ideas on how to fix it?
Thanks
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Image
- ID
- ihmsrt
5 comments
The font you use has "ligatures" for fi, ff and the text editor you are using can't deal with it correctly. You could use a font without ligatures, or you could try a different text editor, or maybe check the text editor's bug tracker to see if there's discussion about the problem.
I tried changing font but it doesn't solve the problem. Maybe I'll try more options and see.
What bothers me is that the editor font option says: "This should be a monospace font or some elements will render incorrectly. If the font is incorrect or empty, it will default to a generic monospace font." , so it should work by leaving it empy
The three names "serif", "sans-serif" and "monospace" are not real fonts. You can check what real font the system uses for "monospace" with this command here: