On 20/12/08 06:44, anhnmncb wrote:
[...]
> :set guifont can change font, but that's not what I want, because:
>
> 1. I have to set it manually;
>
> 2. Maybe a font that has the charactor but doesn't have some others;
So what? Of the fonts I use, none has both Arabic and Chinese glyphs, so
I change 'guifont' (manually) depending on whether I'm editing the
Arabic text in the page, or the Chinese.
>
> 3. Maybe the font has that charactor but looks ugly, so I want a prefer font
> for most text, but another font for just some charactors that my prefer
> font doesn't have.
>
> The case I wanted is that: when a charactor needs to be displayed but current
> guifont doesn't have, then gvim will try to choose another font for it.
Well, the only solution I know for that requirement is: Move to Linux
and use GTK2.
There's one obscure sentence under ":help 'guifont'" saying that you can
have several comma-separated values in that option, but it seems to
imply that the first of them which is installed will be used globally,
not that the leftmost of them which has a glyph for any given character
will be used for that character. I may have misunderstood, but if the
selection is for each character separately you MUST select fonts which
all have the exact same height, the exact same width, and the baseline
at the exact same distance above the bottom of the character cell (in
all three cases with pixel accuracy).
Regards,
Tony.
--
Democracy is a device that insures we shall be governed no better than
we deserve.
-- George Bernard Shaw
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---