Skip to content
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

Space between lines when drawing block characters #2572

Closed
kolbe opened this issue Nov 21, 2019 · 3 comments
Closed

Space between lines when drawing block characters #2572

kolbe opened this issue Nov 21, 2019 · 3 comments

Comments

@kolbe
Copy link

kolbe commented Nov 21, 2019

Details

  • Browser and browser version:
    Google Chrome 78.0.3904.108
    Safari Version 13.0.3
    Firefox 70.0.1 (after changing font-family to "DejaVu Sans Mono", "Everson Mono", FreeMono, Menlo, Terminal, monospace, "Apple Symbols"... the default font looks totally ridiculous in Firefox)

  • OS version:
    macOS Catalina 10.15.1

  • xterm.js version:
    Git commit 70babea, build with docker build ..

Steps to reproduce

tidb.ascii.txt

  1. Run TiDB Demo docker container
  2. curl -L https://github.com/xtermjs/xterm.js/files/3876032/tidb.ascii.txt in the xterm.js terminal pane.

image

In my termimal, the block characters are smooshed together nicely and form a single field of pixels, while in xterm.js there is a small gap between each line.

@egmontkob
Copy link

See also #2409.

@theflyingape
Copy link
Contributor

theflyingape commented Nov 22, 2019

VS Code on Linux:
vscode-linux

@Tyriar
Copy link
Member

Tyriar commented Nov 22, 2019

I think it depends on the font you're using so in a way it's as designed. #2409 would change this to override the font glyphs to be drawn manually, I'm not sure whether we want to do that or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants