Open oatmealm opened 3 years ago
I don't know what causes that. If I had to guess it has something to do with the unicode type characters having a different width than regular characters. That could mean the position used in ov-highlight does not align with the visible placement of the glyphs.
It is also possible it is a bug though.
Do overlays support this scenario of variable width fonts? Most often it seems to work just fine.
I don't know if there are issues with overlays and variable width fonts.
Was wondering why this happens and if there's a quick way to fix/re-align the markup.... it happens quite often, but still didn't figure when... you can see in the example bold and color leaking into the footnote anchor. Otherwise, very often it's a one letter shift in the text.