hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Weird underscore rendering

Open hylke94 opened this issue 3 years ago • 6 comments

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Manjaro Linux x86_64 I3 v21.3
  • Hyper.app version: 3.3
  • Link of a Gist with the contents of your .hyper.js: default config with hyper-material-theme as only plugin/theme
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app: yes

Issue

Since version 3.3, all underscores in the whole terminal are rendered weirdly. See screenshots below for details.

With hyper-material-theme theme:

image

Without any plugins/themes:

image

hylke94 avatar Sep 13 '22 13:09 hylke94

Same here

eschultze avatar Sep 19 '22 15:09 eschultze

Same here. But in my case, i don't use hyper-material-theme

The problem only occurs when the fontSize is under than 13 I found the other problem related with fontSize: #6680

fontSize: 12 image

fontSize: 13 image

jfollmann avatar Sep 23 '22 15:09 jfollmann

For me, changing the fontFamily in Preferences worked.

  • Install latest https://github.com/adobe-fonts/source-code-pro/releases
  • Change to fontFamily: '"Source Code Pro", monospace',

It should work with any "good" font (it also worked with Fira Code https://github.com/tonsky/FiraCode). Remember to restart Hyper after installing fonts.

No theme/plugin, on Fedora.

cub avatar Nov 24 '22 09:11 cub

Same happens for me. However, changing the font to Fira Code did not work for me. Interestingly if I zoom a bit using Ctrl + +, it renders correctly. Without zoom: Screenshot from 2023-02-20 18-24-47 With zoom: Screenshot from 2023-02-20 18-26-11

D0miH avatar Feb 20 '23 17:02 D0miH

Can also try 'webGLRenderer: false,' , this help me fix the problem :)

XKaguya avatar Mar 16 '23 02:03 XKaguya

Operating system: Ubuntu 22.04.3 LTS x64 (with Wayland) Hyper terminal version: 3.4.1 (Jan 07, 2023) Installation method: .deb package

I'm also having this problem when using hyper-material-theme (it seems like it's not a problem with this plugin). I used to use version 3.2.3 where everything works fine, but I decided to get the latest version and try to fix the problem.

Each of the various solutions described here worked for me:

  1. Increase font size to any value greater than 12;
  2. Disable webGLRenderer;
  3. Change the default font family: by default the first font family is Menlo, but there are several font families as fallback in the configuration file that can be set to default).

I'm using JetBrains Mono with size 12 and webGLRenderer active and everything works fine now.

cortesvitor avatar Jan 02 '24 02:01 cortesvitor