-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text shifted down with some characters truncated on Firefox with xtermjs 4.12.0 #3353
Comments
Running |
Truncated text can be seen when using GitHub Codespaces on Firefox, but not Chrome. This might be related to the issue reported here. However, for Codespaces the truncated text only occurs at the bottom of the screen, as opposed to occurring generally, which suggests it might not be related to the issue here. For example, here's a screenshot, where the "{}" is only truncated at the bottom. |
Not sure how this issue is going, but I think From: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/textBaseline
Also, maybe another approach is to make it possible for users to adjust the baseline settings, since And then some demos:
|
@nirui I think |
This was resolved in #3370. I no longer encounter the issue after updating |
Details
Steps to reproduce
Create a page with the following code:
The output has text shifted down (relative to version 4.11.0) with some characters truncated (e.g., see the "{" and "}" characters).
Here's a screenshot using version 4.11.0, where the text is not shifted down nor truncated.
This issue occurs on Firefox, but not on Chrome.
The text was updated successfully, but these errors were encountered: