Different fonts for different symbol classes

0 views
Skip to first unread message

taka...@gmail.com

unread,
Dec 24, 2009, 4:19:49 AM12/24/09
to vim_use
Hi,
is there any way to use different fonts in gvim(windows) for different
symbol classes?

I use Monaco font now but it seems it doesn't support cyrillic russian
symbols, it displays them incorrectly.
I would like to be able to display russian symbols with Lucida Console
and all other symbols with Monaco. Is it possible?

Ben Fritz

unread,
Dec 25, 2009, 10:54:27 AM12/25/09
to vim_use

On Dec 24, 3:19 am, "takan...@gmail.com" <takan...@gmail.com> wrote:
> Hi,
> is there any way to use different fonts in gvim(windows) for different
> symbol classes?
>

No, this is not possible (at least not without some major
modifications to Vim's C code). gvim uses a single font (defined by
guifont) for all characters, and you cannot use more than one.
Different fonts have different character cell sizes, even with the
same defined font size. gvim uses an array of character cells, so it
would lead to problems if every cell did not have a defined size.

Andrey Sidorov

unread,
Dec 26, 2009, 5:08:12 AM12/26/09
to vim_use
Ah :(
Thanks for your answer.
Reply all
Reply to author
Forward
0 new messages