Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [font]

The tag has no usage guidance.

0
votes
1answer
47 views

Setting default gVim font via `vimrc`, conditional on the operating system

I can place the following code into my _vimrc file on Windows 7/10 and the font will default to 'Consolas - size 11' when I launch gVim. if has("gui_running") if has("gui_gtk2") set guifont=...
1
vote
1answer
16 views

Requesting aliased :guifont rendering on Windows

Non-AA font rendering seems available everywhere except for Windows. In MacVim, this is possivle via noantialias. When using GTK2 front-end, the same can be achieved by adding antialias=false to the ...
1
vote
1answer
42 views

How to make vim display ZWNJ characters correctly?

When I insert a ZWNJ character into text, vim displays <200c> instead of it. Is it possible to make vim to behave normally with this character, like GUI editors? Or is it possible to hide (and ...
0
votes
0answers
93 views

Vim Airline: font symbols not rendering properly

I have a weird problem. I wanted to install the airline plugin via Plug. It works so far, but looks boring without any powerline fonts. I installed them via git clone git@github.com:powerline/fonts....
0
votes
0answers
32 views

How to fix font being cut at the end of he line?

In Gvim the font I'm using is sometimes being cut (not fully rendered on the right) at the end of the line, like pictured below (letter "d" is having top bar not rendered): I'm using Inconsolata font ...
1
vote
1answer
62 views

How to deal with accented latin characters on neovim

I'm trying to find out how to configure neovim in order to edit texts with accented latin characters. I usually set ambiwidth to double so Jananese symbols are displayed properly, but then neovim ...
0
votes
0answers
63 views

How to set custom font for all *.html files in vim?

Even though vim running on terminal uses fonts set for terminal emulator, I would still like to know if there is a way I can change vim's font to calibri whenever I open any html file? Meaning all ...
1
vote
0answers
63 views

Does Windows GUI Vim perform font substitution for glyphs unavailable in current font?

MacVim specifically (if obliquely) mentions font substitution, and I've found evidence online that GTK2 gVim does too. But does Windows gvim? N.B. I'm already aware of the 'guifontwide' setting.
3
votes
0answers
213 views

Unreadable display of Tamil characters in Vim

gVim seems to have problems displaying text in Tamil (and possibly other Indic languages), even when the font supports it. For eg., here's some text in Emacs and the same text in gVim (both under ...
0
votes
2answers
114 views

Set gui's font in win7

For debian9, the setting in .vimrc take effect for gvim. set guifont=Bitstream\ Vera\ Sans\ Mono\ 14 For win7,the setting in _vimrc take no effect for gvim at all. I open gvim in my win7, :set ...
0
votes
2answers
1k views

powerline font/symbol glitches

I'm new to vim and recently installed powerline plugin. I absolutely love using powerline with vim, but the symbols are not properly rendered. And I suspect I missed something here, can anyone help ???...
0
votes
1answer
374 views

gvim looks terrible on my RedHat. Unable to change font

When running gvim on my RedHat: Linux trex-06 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux NAME="Red Hat Enterprise Linux Server" VERSION="7.3 (Maipo)" ID=...
3
votes
0answers
833 views

Getting ligatures to work outside of comments

I'm playing around with Fira-Code and am having a weird issue with its ligatures. They seem to only work within the comments and not within my actual code. I have no idea what's causing this or how ...
2
votes
1answer
3k views

Change a font in Vim/GVim in a simple way

I merely want to change a font in Vim/GVim. That's it. This doesn't work: font=Monaco\ 14 I've done a google search and I wonder, why is for such a elementary task there's no simple answer which ...
3
votes
1answer
119 views

Some umlauts and extended Latin characters are shown as fullwidth

In Vim, I find each of ü and ß takes up fullwidth, i.e. twice as fat as ASCII characters. I am writing some German-learning notes, and find this to be very confusing, since I have been mistaken that ...
0
votes
0answers
118 views

Sign column font is cut off

I have an issue where the signs in my sign column are cut off in the middle (screenshot below). Changing the Guifont or the font size doesn't seem to matter. It looks fine in terminal neovim. I am ...
4
votes
1answer
122 views

Vim and gVim in Windows doesn't recognize Mongolian letters Өө and Үү

I'm trying to open and edit files with Mongolian text, written in Mongolian Cyrillic. In the cmd terminal and in powershell terminal if I choose Consolas font, everything is ok with Mongolian Cyrillic,...
5
votes
1answer
1k views

gvim window looks bad

I don't know why my gvim windows looks like this in linux. Is there anything I need to add to my vimrc file in addition to this? execute pathogen#infect() syntax on filetype plugin indent on set ...
0
votes
2answers
372 views

Use visual mode to convert text to unicode bold formats?

How can I make it so when in visual mode, pressing b will toggle highlighted text to its bold unicode counterpart? This is what I mean by its Unicode counterpart: http://qaz.wtf/u/convert.cgi?text=...
1
vote
0answers
868 views

Neovim Airline Powerline Fonts won't work

I installed Airline status line for Neovim and put the following line in my init.vim: let g:airline_powerline_fonts = 1 I also followed the instructions for installing powerline symbols from here ...
4
votes
1answer
122 views

Latin Capital Letter Thorn

I want to insert the unicode character Thorn Þ into my document. http://www.fileformat.info/info/unicode/char/00de/index.htm The character seems to be inserted when I type i<C-v>u00DE<esc&...
1
vote
1answer
767 views

How to change Vim's :hardcopy printfont?

I would like to be able to print in other than Courier font using the :ha command. Investigating more closely, I found that it is documented that the Courier font is always used: - 'printfont' - The ...
5
votes
1answer
625 views

gvim incorrect font (or encoding) in menu

I use 32bit gvim 7.4 on Win7 64bit CZ. I replaced the gettext and iconv libraries according to the guide on the vim website. I wanted to use utf-8 and have setup the guifont, encoding and fileencoding ...
9
votes
1answer
598 views

How do I create buttons on the toolbar to increase and decrease font size?

Many systems offer + and - zoom buttons. Can someone please demonstrate how such two buttons can be emulated with gvim? This means that clicking the + button would increase the font size by one step....
4
votes
1answer
1k views

Why do symbols look ugly in gvim?

I'm on Windows 7 with Vim 7.4, and Unicode symbols with the Hack font look awful. Am I missing a setting somewhere? Is there a way to improve this? For reference, this is gvim: and this is atom: I'...
11
votes
2answers
4k views

How to zoom to text in VIM via shortcut?

I want to zoom in VIM, like Sublime text or Atom, using CTRL + & CTRL - and CTRL 0 for reset to default font-size.
0
votes
1answer
1k views

Permanently set Font size and font selection in vim (compiled from source)

I have searched both Stack Overflow and the Vi and Vim Stack Exchange sites and the few questions regarding font size in vim are regarding gvim and the guifont. However, I am using vim from command ...
1
vote
0answers
409 views

Every line shows bold

Somehow every line in my Vim is bold. I'm using Consolas, which has a Bold typeface. Also, after leaving Vim, terminal is shown in Regular. The screenshot shows a small document that should have both ...
5
votes
1answer
1k views

Visual Differences between vim on virtualbox Ubuntu guest (through putty) OR gVim on Windows host

Ok, it's a curiosity more than a real question, I apologize in advance for long post: Usually I code with vim on a ubuntu headless, as a virtualbox guest on my stupid windows 7 host; I access linux ...
30
votes
6answers
36k views

How can I change the font size in gVim?

Is there a way to change the size of the font in gVim, using native commands? And if not, what script can be used to do it quickly?
1
vote
1answer
188 views

Macvim - CJK-specific font settings?

Currently in my MacVim, the English font (Source Code Pro Light) is fine, but the Chinese font is being rendered in a very ugly manner. Is there any way to specify what font to use/fontsize for CJK ...
7
votes
1answer
4k views

How to display Font Awesome in Vim?

I installed ttf-font-awesome in Arch Linux; if I open up a file which contains icons from Font awesome it recognizes the file as utf-8 but the icons are displayed as squares. Does anyone know how to ...
11
votes
2answers
178 views

Quickly switch between fonts at runtime

While fonts can be manually selected in GVim from the menu, I have a few preferred fonts I would like to switch between depending on the task at hand (small bitmap, larger OTF... etc). Is there a way ...
30
votes
3answers
10k views

Can I use a non-monospaced font in either Vim or gVim?

Is there any way to use a non-monospace font in either vim or gvim? I tried changing the font for gVim with: :set guifont=Dejavu\ Serif\ 12 But this gives me some rather ugly results: I get the ...