Quantcast

FYI: Extended Box Drawing - Its the Fonts

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

FYI: Extended Box Drawing - Its the Fonts

richard emberson-2
This post is with regards to using extended
box drawing characters in console Vim running
in a xterm on Linux. Specifically, its about
getting Vim to display not just the simple
box drawing characters like "cntl-V u 2500"
or "cntl-V u 250C" (which can be entered
with cntl-K as digraphs) but also the heavy
and double box characters such as
"cntl-V u 2550" or "cntl-V u 253B".

Firstly, GVim and console Vim running in the rxvt variant,
urxvt256c, worked just fine; display the extended box
characters. So, what was the issue with
console Vim in an xterm?
Well, when starting the xterm I set the font to "10x20".
Turns out the "10x20" which I've used for megaannum
was the problem.
Changing xterm to use the font
'-misc-fixed-medium-r-normal-*-20-*-*-*-*-*-iso10646-*'
fixed the problem;

Just an FYI.

Richard

--
Quis custodiet ipsos custodes

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: FYI: Extended Box Drawing - Its the Fonts

Charles E Campbell Jr


On May 14, 2012, at 12:59 PM, richard emberson <[hidden email]> wrote:

> This post is with regards to using extended
> box drawing characters in console Vim running
> in a xterm on Linux. Specifically, its about
> getting Vim to display not just the simple
> box drawing characters like "cntl-V u 2500"
> or "cntl-V u 250C" (which can be entered
> with cntl-K as digraphs) but also the heavy
> and double box characters such as
> "cntl-V u 2550" or "cntl-V u 253B".
>
> Firstly, GVim and console Vim running in the rxvt variant,
> urxvt256c, worked just fine; display the extended box
> characters. So, what was the issue with
> console Vim in an xterm?
> Well, when starting the xterm I set the font to "10x20".
> Turns out the "10x20" which I've used for megaannum
> was the problem.
> Changing xterm to use the font
> '-misc-fixed-medium-r-normal-*-20-*-*-*-*-*-iso10646-*'
> fixed the problem;
>
>
You may find DrawIt of use - http://www.drchip.org/astronaut/vim/index.html#DRAWIT

Regards,
Chip

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: FYI: Extended Box Drawing - Its the Fonts

richard emberson-2
Thanks.
I had come across DrawIt earlier while trying to find out
how to get the extended box drawing characters to render
with my Vim-xterm combination.

On 05/14/2012 11:31 AM, Charles E Campbell wrote:

>
>
> On May 14, 2012, at 12:59 PM, richard emberson<[hidden email]>  wrote:
>
>> This post is with regards to using extended
>> box drawing characters in console Vim running
>> in a xterm on Linux. Specifically, its about
>> getting Vim to display not just the simple
>> box drawing characters like "cntl-V u 2500"
>> or "cntl-V u 250C" (which can be entered
>> with cntl-K as digraphs) but also the heavy
>> and double box characters such as
>> "cntl-V u 2550" or "cntl-V u 253B".
>>
>> Firstly, GVim and console Vim running in the rxvt variant,
>> urxvt256c, worked just fine; display the extended box
>> characters. So, what was the issue with
>> console Vim in an xterm?
>> Well, when starting the xterm I set the font to "10x20".
>> Turns out the "10x20" which I've used for megaannum
>> was the problem.
>> Changing xterm to use the font
>> '-misc-fixed-medium-r-normal-*-20-*-*-*-*-*-iso10646-*'
>> fixed the problem;
>>
>>
> You may find DrawIt of use - http://www.drchip.org/astronaut/vim/index.html#DRAWIT
>
> Regards,
> Chip
>

--
Quis custodiet ipsos custodes

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Loading...