LaunchMenu icon indicating copy to clipboard operation
LaunchMenu copied to clipboard

Weird navigation in search bar for `f + i` keys

Open TarVK opened this issue 4 years ago • 1 comments

Our used font merges the f character with subsequent i and or l characters. This seems to cause some issues in our current caret rendering, which should be looked into.

TarVK avatar Jun 19 '21 22:06 TarVK

I don't know about what exactly causes this, but I do know it's likely related to how I measure text length to determine cursor position: SyntaxHighlighterSelection.tsx#L17

We should either do some good debugging here to really fix the issue if we can, or otherwise at least replace the default with a font that doesn't have this merging feature. Currently the fonts are specified here: createTheme.tsx#L78, Lato-Light.ttf

Obviously properly fixing the issue is better, but this is quite an edge case, so simply replacing the default font also is acceptable for now in my opinion.

TarVK avatar Oct 05 '21 15:10 TarVK