Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Being both a language enthusiast and a programmer, I find myself often doing programming or text processing involving foreign language alphabets and scripts.

One annoyance however is that CJK fonts (those which support Chinese, Japanese, and/or Korean) usually only contain glyphs for Latin, Greek, and Cyrillic at best. Often the Asian glyphs will be beautiful but the other glyphs can be quite ugly.

Just as often in text editors you can only choose a single font, not one for CJKV and one for other, which will be each used for rendering the appropriate characters.

Korean is one of the languages I'm most interested in currently. I only need hangul / hangeul for monospaced editing, hanja isn't common enough to be a problem.

Another of the languages I'm currently involved in is Georgian, which has its own alphabet which is a little exotic but has pretty good support in common fonts on Windows and *nix.

But I am as yet unable to find a font with good Korean glyphs and also Georgian glyphs.


My editor of choice is gVim, so an answer telling me how to set it to use two fonts together would be just as good. Currently I'm using it mostly under Windows 7 so a vim-specific solution would be needed rather than a *nix-specific solution.

share|improve this question
    
Your gvim isn't built against fontconfig? –  Ignacio Vazquez-Abrams Dec 18 '12 at 5:58
    
@IgnacioVazquez-Abrams: I use gVim because it runs on all platforms but recently I've been mostly on Windows, so it's apparent that I better add that to the question. Thanks! –  hippietrail Dec 18 '12 at 6:03
    
This seems very much impossible , I know windows allows you to switch languages rather easily ... –  Keithsoulasa Dec 18 '12 at 7:02
    
@Keithsoulasa: Switching keyboard layouts is pretty easy yes, but switching between fonts is different in every program. Also which property of the font system makes including both hangul and Georgian impossible? –  hippietrail Dec 18 '12 at 7:23

1 Answer 1

Vim allows to set a different font for double-width characters via the 'guifontwide' setting. Also, see :help 'guifontset' for a Unix-specific setting. If all that doesn't help, I'd suggest defining custom mappings / commands / shell aliases that allow you quickly toggle the 'guifont' being used.

share|improve this answer
    
guifontwide worked great, though having the sizes of the two fonts tied some way would make more sense. I won't accept though because though it solves my specific problem, a font would fit the letter of the question better. –  hippietrail Jan 9 '13 at 11:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.