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

vim breaks the fonts #54

Open
emmanueltouzery opened this issue Aug 1, 2014 · 7 comments
Open

vim breaks the fonts #54

emmanueltouzery opened this issue Aug 1, 2014 · 7 comments
Labels

Comments

@emmanueltouzery
Copy link

emmanueltouzery commented Aug 1, 2014

built it on fedora 20, it looks great but vim breaks it. Once I start vim, characters don't appear anymore on the screen, even after exiting screen. The cursor moves and the commands are obviously executed, but no fonts are drawn anymore.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3436156-vim-breaks-the-fonts?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F479407&utm_medium=issues&utm_source=github).
@emmanueltouzery
Copy link
Author

(less and man do work)

@Swordfish90
Copy link
Owner

Thank you for your report. Does the problem only appear in vim or also somewhere else? This is strange because no other Fedora 20 user reported something like that. Are you using some strange hardware/setup like a VM or something like that?

@emmanueltouzery
Copy link
Author

You are right, it's not that simple. I think it's because I have something in my vimrc which does something to the fonts. If I start vim with:

vim -u NONE

To make it ignore my vimrc:
http://evanhahn.com/ignore-vimrc-with-vim/

Then it works... It's probably because I'm using the powerline symbols (but then also my shell is using them and it still works). Trying to isolate the setting which causes the problem...

@emmanueltouzery
Copy link
Author

OK I tracked it down to this setting in the .vimrc:

" bigger window by default
set lines=30 columns=110

Now yeah, I guess I can't get more lines and columns in an "antique" terminal. Maybe you could try to ignore such requests...

@coydog
Copy link

coydog commented Aug 2, 2014

I experienced the same symptoms with Vim on BodhiLinux 3. In my case, the offending .vimrc entry turned out to be the following:

set columns=82

Anything larger than 68 triggers the issue in my environment. As a workaround and perhaps some insight into the cause, the issue is "fixed" per run of vim if I switch between fullscreen and window mode. Perhaps some reinitialization is happening on a fullscreen switch that needs to happen elsewhere as well. I hope this is helpful.

@Swordfish90
Copy link
Owner

I just tested this and I can reproduce the bug. It seems that forcing the size causes this kind of behavior. A simple window resize is a workaround at the moment. Could someone test it and see if also happens upstream? https://launchpad.net/ubuntu-terminal-app

@Swordfish90 Swordfish90 added the bug label Aug 3, 2014
@ukn-ubi
Copy link

ukn-ubi commented Sep 12, 2015

I have this problem in Arch Linux. I love Cool Retro Term by the way. 😄

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

No branches or pull requests

4 participants