complete, monospaced Unicode font? [closed]

帅比萌擦擦* 提交于 2021-01-10 03:47:52

问题


I'm looking for a good programming font that lets me add comments and string literals in Unicode, usually Japanese and Chinese along with some Latin and Cyrillic languages.

So far the situation seems to be "complete, monospace, free, pick 2" and Google is failing me with this (maybe because there are no good ones?).

The best I found is Arial Unicode but it's not monospace, which is a big nuisance for me and the editors I use. Not to mention Python indentation when I'm coding Python.


(Links, edits are welcome)


回答1:


Unicode is big. Really big. You just won't believe how vastly hugely mind-bogglingly big it is. I mean, you might think it's a long way down the codepage to ü, but that's just peanuts to Unicode.

I really doubt there's any font in the world (monospaced or not) that has "complete" Unicode. The best you can do is find a few monospaced fonts that, together, cover the space you're interested in, and make sure your editor is set up to use them.




回答2:


The best I've found is DejaVu Sans Mono which is a Unicode expansion of Bitstream's Vera Sans Mono.

I'm not sure there are any 'complete' fonts, so I think you'll have to deal with a patchwork of fonts.




回答3:


GNU Unifont is a monospaced, bitmapped font with complete coverage of the Basic Multilingual Plane as defined in Unicode 5.1. It is also avaiable in True Type format.




回答4:


How about Consolas? Should be lying around on most windows boxes by now.

If not it can be downloaded here:

http://www.microsoft.com/down...lang=en

It does look ugly without ClearType enabled though.




回答5:


Before Consolas, I always used Andale Mono as my programmer font. There's a free download available.




回答6:


I'm trying to answer this question for myself, for use in Eclipse editor.

MS ゴシック (MS Gothic) is what I'm currently trying, and that seems to be pretty good for the Japanese characters I'm dealing with. Included in Windows since 2000.




回答7:


One could be constructed from the Unicode Consortium's published CodeCharts.pdf by font extraction via FontForge. However:

  1. Legal issues would be a serious consideration.
  2. The extracted fonts do not align their characters to unicode code points, but rather place them at various points sometimes in order, sometimes haphazardly. Remapping them is a chore (but orders of magnitude easier than creating a font from scratch).
  3. Character combining, etc., logic is complex (I'd personally prefer a dumb uncombined font, with one visual position per codepoint, and display them just like on the codepages).



回答8:


GNU Unifont does indeed have the complete Unicode BMP. unfortunately the UTF8 map has about 16 times as many characters, including some CJK extensions. My advice is to download Unifont and add the other characters you need by hand or by copying them from another font.




回答9:


Actually I find monospaced fonts to be a nuisance when I have to read them so I use Tahoma or even Georgia for my source code. I have a very verbose coding style (an instance of type AstractModemConnector is named abstractModemConnector) so my source code looks almost like English and is perfectly readable with a proportional font.



来源:https://stackoverflow.com/questions/586503/complete-monospaced-unicode-font

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!