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
Using the webgl renderer it seems like selection highlight sits a bit lower than the canvas renderer.
Webgl:
canvas:
Here's an example where it looks like the characters drop when the cursor highlights them. Feels like the cursor needs to be moved up a few pixels.
This could perhaps be an issue with the font. Currently im using Fira Code and when using courier-new, courier, monospace the first issue doesn't happen but the second example does still happen.
Details
Browser and browser version: electron-7.1.3
OS version: macOS catalina
xterm.js version: 4.3
xterm-addon-webgl version: 0.4.0
The text was updated successfully, but these errors were encountered:
The reason it's different inside just the webgl renderer if because the exact same canvas is being used to render the cursor for both webgl and canvas, it's just another transparent canvas sitting on top of the webgl canvas. Same for links:
Tyriar
changed the title
Selection highlight sits a bit lower in the webgl renderer
Cursor foreground sits a bit lower than other text in the webgl renderer
Feb 3, 2020
Using the webgl renderer it seems like selection highlight sits a bit lower than the canvas renderer.
![Screen Shot 2019-12-06 at 10 40 19 AM](https://user-images.githubusercontent.com/5059927/70335233-eba39400-1814-11ea-9965-10cd3ac903ff.png)
![Screen Shot 2019-12-06 at 10 41 42 AM](https://user-images.githubusercontent.com/5059927/70335293-0970f900-1815-11ea-9690-021c8732e273.png)
Webgl:
canvas:
Here's an example where it looks like the characters drop when the cursor highlights them. Feels like the cursor needs to be moved up a few pixels.
![selection](https://user-images.githubusercontent.com/5059927/70335430-45a45980-1815-11ea-8801-a33cfbd04eae.gif)
This could perhaps be an issue with the font. Currently im using Fira Code and when using
courier-new, courier, monospace
the first issue doesn't happen but the second example does still happen.Details
The text was updated successfully, but these errors were encountered: