New issue
Advanced search Search tips

Issue 852491 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 737454
Owner: ----
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

hterm: column misalignment with powerline fonts

Reported by linuxi...@gmail.com, Jun 13 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10452.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.203 Safari/537.36

Steps to reproduce the problem:
1. add Sourcecode Pro Powerline font to your terminal config
2. connect via secure shell, mosh, or any other hterm powered app to a remote server, run tmux, open a split, and open vim with a status line plugin in the left split.
3. observe the column misalignment

What is the expected behavior?
columns align properly, and width is preserved

What went wrong?
hterm isn't handling one of the fonts or escape sequences properly, i presume...

Did this work before? N/A 

Chrome version: 66.0.3359.203  Channel: n/a
OS Version: 10452.99.0
Flash Version: 

Here's a copy/paste from tmux of the status lines, but not sure if it'll be useful...

NORMAL  +0 ~0 -0   ~/7g-backend/backend/atg.py                                                                      pollATG  python  utf-8[unix]   91% ☰ 1248/1364  :105 
  2 /srv/fieldagent/7g-backend/backend/atg.py|830 col 5| C901 'ATG.parseResponse' is too complex (66)
~
~
~
~
 [:flake8 "/srv/fieldagent/7g-backend/backend/atg.py"] [Quickfix List] [-]                                                                        [unix]  100% ☰    2/2  : 22
 
Screenshot 2018-06-13 at 14.37.38.png
11.3 KB View Download
Screenshot 2018-06-13 at 14.34.02.png
17.8 KB View Download

Comment 1 by linuxi...@gmail.com, Jun 13 2018

Related, probably, thanks to someone on the mailing list:

https://bugs.chromium.org/p/chromium/issues/detail?id=737454

Comment 2 by linuxi...@gmail.com, Jun 13 2018

Actually...

This happens with vim-airline, even with a plain monospace font in hterm.

Just vanilla vim airline in a tmux split causes this behavior.

Comment 3 by linuxi...@gmail.com, Jun 13 2018

I opened an upstream issue here: https://github.com/vim-airline/vim-airline/issues/1745

Comment 4 by linuxi...@gmail.com, Jun 13 2018

Disabling unicode symbols fixes this, for now...

let g:airline_powerline_fonts = 0
let g:airline_symbols_ascii = 1

Comment 5 by vapier@chromium.org, Jun 13 2018

Components: -UI Platform>Apps>Default>Hterm

Comment 6 by vapier@chromium.org, Jun 13 2018

Mergedinto: 737454
Status: Duplicate (was: Unconfirmed)
Summary: hterm: column misalignment with powerline fonts (was: hterm column misalignment with powerline fonts)
the powerline fonts you're using aren't actually monospace for some of the glyphs which breaks things

Sign in to add a comment