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

Font Problem #1534

Closed
ghost opened this issue Jun 26, 2018 · 4 comments
Closed

Font Problem #1534

ghost opened this issue Jun 26, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2018

Hi,
xterm

This is how xterm is displayed with defaults.
I tried to change font-family & line height.
What is the problem?
I am using your startup example.

Details

  • Browser and browser version: Chrome 67
  • OS version: Ubuntu 18.04
  • xterm.js version: 3.4.1

Steps to reproduce

@7PH
Copy link
Contributor

7PH commented Jun 26, 2018

Hello, your issue looks like related to #1170

Had the same issue on debian buster/sid / Firefox ESR 52.8.1 (64-bit), fixed it by changing the font family to Courier New

const xterm = new Terminal({ fontFamily: 'Courier New' });

@ghost
Copy link
Author

ghost commented Jun 26, 2018

Hi,
I added fontFamily:'Courier New' option to constructor.
But nothing changed.

@jnodev
Copy link

jnodev commented Jul 11, 2018

I added this to the constructor, which fixes the issue for me on Ubuntu 18.04 and Chrome 67:

const xterm = new Terminal({ 
    fontSize: 14,
    fontFamily: 'Ubuntu Mono, courier-new, courier, monospace'
});

@ghost
Copy link
Author

ghost commented Jul 26, 2018

Thank you @jan0e .
This solved my problem.

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

3 participants