大家编程的时候用什么字体? - V2EX
请不要在回答技术问题时复制粘贴 AI 生成的内容
yqjun

大家编程的时候用什么字体?

  •  
  •   yqjun Nov 13, 2011 47056 views
    This topic created in 5295 days ago, the information mentioned may be changed or developed.
    用不好看的字体编程简直就是一种折磨……>_<
    之前一直用Monaco……后来发现Monaco是默认不带中文字体的……导致sublime text 4 linux中文变成一个个"口"……
    现在想换字体又找不到像Monaco这样的字体……纠结呢
    93 replies    2017-10-18 12:03:55 +08:00
    chenluois
        1
    chenluois  
       Nov 13, 2011
    Menlo
    yqjun
        2
    yqjun  
    OP
       Nov 13, 2011   1
    @chenluois 它不自带中文……所以“导致sublime text 4 linux中文变成一个个"口"…… ”或者有其他解决办法??修改字体?可以做到吗?
    reducm
        3
    reducm  
       Nov 13, 2011 via Android
    由最开始htmlcss到java到php到ruby,一直eclipse+verdana,linux下中文的确麻烦,我用的文泉等宽还好
    yqjun
        4
    yqjun  
    OP
       Nov 13, 2011   1
    @reducm 又一严重问题……sublime 4 linux怎么切换中文输入发??无论是ibus还是fictx都切换不了……奇怪了= =
    haohaolee
        5
    haohaolee  
       Nov 13, 2011
    consolas
    RoCry
        6
    RoCry  
       Nov 13, 2011
    Monaco+雅黑就行了呗
    很多下载的
    roamlog
        7
    roamlog  
       Nov 13, 2011
    sublime text 2 在 linux 下有问题,中文显示乱码的问题可以通过换字体解决,调用中文输入法的问题暂时无解

    另外,sublime text 2 只支持显示 utf8 编码的中文
    bindiry
        8
    bindiry  
       Nov 13, 2011
    搜:Microsoft YaHei Mono
    deepure
        9
    deepure  
       Nov 13, 2011
    推荐下极限的xhei mono 不过linux不知道能不能使用
    yqjun
        10
    yqjun  
    OP
       Nov 13, 2011   1
    目前使用的是 YaHei Consolas Hybrid 感觉不错,英文中文都自带了~~~
    sublime的中文输入我已经放弃了……学用英文注释把,若需要写中文,就跑到gedit去写= =
    WarWithinMe
        11
    WarWithinMe  
       Nov 13, 2011
    Windows,请用YaHei Consolas Hybrid,版本是1.0的有不少bug,最好用最新的。搭配上MacType。效果一流。

    Mac下面,试试用Espresso自带的字体,Espresso Mono。
    wontoncc
        12
    wontoncc  
       Nov 13, 2011
    目前在用 Bitstream Vera Mono Sans……
    zellux
        13
    zellux  
       Nov 13, 2011
    Monaco
    zellux
        14
    zellux  
       Nov 13, 2011
    抱歉没仔细看文章,Linux 下我用 Monaco + 文泉等宽
    victor
        15
    victor  
       Nov 13, 2011
    Monaco 15 pt
    franksin
        16
    franksin  
       Nov 13, 2011
    Menlo 14pt也不错。。。
    love
        17
    love  
       Nov 13, 2011
    Monaco我觉得太花了不好辩认,现在用的是 http://font.ubuntu.com/ 的mono字体。
    aisin
        18
    aisin  
       Nov 13, 2011
    用这个: lucida console
    fordragon
        19
    fordragon  
       Nov 13, 2011
    用了很久Inconsolata
    yangg
        20
    yangg  
       Nov 13, 2011
    set guifOnt=Menlo:h14
    FuryBean
        21
    FuryBean  
       Nov 14, 2011
    Monaco 14px.
    Livid
        22
    Livid  
    MOD
    PRO
       Nov 14, 2011 via iPad
    Panic Sans
    xi4oh4o
        23
    xi4oh4o  
       Nov 14, 2011


    ADMUI3Sm 好目害
    NemoAlex
        24
    NemoAlex  
       Nov 14, 2011
    http://dejavu-fonts.org/wiki/Main_Page
    一款开源字体
    同样有等宽的Mono可以在编辑器中使用
    unwiredkite
        25
    unwiredkite  
       Nov 14, 2011
    XHei Mono搭配Mactype
    fly2never
        26
    fly2never  
       Nov 14, 2011
    mac上 默认的
    raptium
        27
    raptium  
       Nov 14, 2011
    Liberation Mono
    mybeky
        28
    mybeky  
       Nov 14, 2011
    Panic Sans/Inconsolata dz/Ubuntu Mono/Monaco

    for

    xcode/vim/terminal/eclipse ...
    SolidZORO
        29
    SolidZORO  
       Nov 14, 2011


    Notepad++ & Zpix C.O.D.E 用户~
    soulhacker
        30
    soulhacker  
       Nov 14, 2011
    Monaco in Xcode 4:

    http://7thgen.info/blog/images/monaco-in-xcode4.png

    如其他朋友所说,新的 Menlo 字体也不错,在大屏幕显示器上表现不错。
    G2bN4dbX9J3ncp0r
        31
    G2bN4dbX9J3ncp0r  
       Nov 14, 2011
    monaco
    ratazzi
        32
    ratazzi  
       Nov 14, 2011
    现在用 Ubuntu Mono 很不错
    proper
        33
    proper  
       Nov 15, 2011
    最近一直用 Panic Sans, 从另外一个app里面“抽”出来的。
    yuest
        34
    yuest  
       Nov 15, 2011
    Ubuntu Mono 很不错,讽刺的是我是在 Arch 上才用上
    Ubuntu 我用版本 10.04 或 10.10,不知道怎么弄最新的 Mono 字体
    jjgod
        35
    jjgod  
       Nov 15, 2011
    @yuest: 直接下载了放到 /usr/share/fonts
    dreamersdw
        36
    dreamersdw  
       Nov 15, 2011
    用过 Consolas, Monaco,Mono,最后认定 Inconsolata
    Aben
        37
    Aben  
       Nov 15, 2011
    很多没见过的字体....
    sipnic
        38
    sipnic  
       Nov 15, 2011   1
    Ubuntu下我用的是DROID SANS MONO.
    xupefei
        39
    xupefei  
       Nov 15, 2011
    Consolas+MacType,感觉挺好的
    arzusyume
        40
    arzusyume  
       Nov 15, 2011
    一直console
    tuoxie007
        41
    tuoxie007  
       Nov 24, 2011
    呃,等宽字体里面怎么会有中文,Linux好纠结啊,难道找不到字体就不会用系统默认的字体吗
    Ricepig
        42
    Ricepig  
       Nov 24, 2011
    Consolas,或者是Monaco,都觉得不错了

    不过如果要混合中文,就悲剧了。。。只能用网上下载的xxx+雅黑混合字体了
    cyberscorpio
        43
    cyberscorpio  
       Nov 24, 2011
    monaco,代码中基本上不会出现中文
    Platinum
        44
    Platinum  
       Nov 24, 2011
    Linux 桌面仅有的几处吸引我的地方就是字体顺序调整起来很方便
    https://github.com/platinum/config/blob/master/.fonts.conf

    用 Droid Sans Mono 最吸引我的地方在于,可以通过 webfont 在所有浏览器上看到一致的字体显示

    http://www.google.com/webfonts#ChoosePlace:select/Collection:Droid+Sans:400,700|Droid+Sans+Mono|Droid+Serif:400,700,400italic,700italic
    icerunz
        45
    icerunz  
       Nov 24, 2011
    雅黑Monaco~自己合的~呵呵呵
    ywjno
        47
    ywjno  
       Nov 24, 2011
    windows的话可以试试这个字体,MS PGothic(非精简版的话机器自带的就有
    shinyzhu
        48
    shinyzhu  
       Nov 24, 2011
    Consolas +1
    hqman
        49
    hqman  
       Jul 6, 2012
    Monaco
    cheshirecat
        50
    cheshirecat  
       Jul 6, 2012
    Consolas +1
    takato
        51
    takato  
       Jul 7, 2012
    Inconsolata
    这个字体有点像Consolas,但是字高没有Consolas夸张,consolas最大的问题就是太粗太高。。
    BlueCoast
        52
    BlueCoast  
       Jul 14, 2012
    Consolas。
    levey
        53
    levey  
       Jul 14, 2012
    以前用Monaco,现在用Menlo
    leohxj
        54
    leohxj  
       Oct 24, 2012
    emacs上是Inconsolata+微软雅黑。
    sublime text 2上是 consolas混合雅黑的那个字体。
    编程的话最好是等宽字体。
    wq86731
        55
    wq86731  
       Oct 24, 2012
    Ubuntu Mono 14pt
    agassi_yzh
        56
    agassi_yzh  
       Oct 24, 2012
    现在用Adobe家的source code啦
    reus
        57
    reus  
       Oct 24, 2012
    微米黑+monaco
    chshouyu
        58
    chshouyu  
       Oct 24, 2012
    YaHei Consolas Hybrid
    hit9
        59
    hit9  
       Oct 24, 2012
    Inconsolata-g
    fanweixiao
        60
    fanweixiao  
       Oct 24, 2012
    Linux下用Ubuntu Mono,在OSX上用Menlo,Windows上用Consolas
    remaerd
        61
    remaerd  
       Oct 24, 2012
    我买了一套 Pragmata Pro。20 美元。现在 20 美元只能买老版。
    mechille
        62
    mechille  
       Oct 24, 2012


    看太小的字幕会眼睛痛...
    zx900930
        63
    zx900930  
       Oct 24, 2012
    @yqjun 没办法,现在改快捷键都没用了, 只好用InputHelper这个插件了
    zx900930
        64
    zx900930  
       Oct 24, 2012   1
    @roamlog
    编码: 插件GBK Encoding Support
    输入: 插件InputHelper
    zucknet
        65
    zucknet  
       Oct 24, 2012
    Xcode 默认字体
    wezzard
        66
    wezzard  
       Oct 24, 2012
    Monaco 代码中根本不可能会出现中文的飘过。
    Alpha
        67
    Alpha  
    PRO
       Oct 24, 2012
    Monaco +1
    aisin
        68
    aisin  
       Oct 24, 2012
    现在推荐使用开源的adobe 编程专用字体, 下载地址在介里

    http://www.cnblogs.com/lhb25/archive/2012/10/12/adobe-fonts-source-code-pro.html
    lightening
        69
    lightening  
       Oct 24, 2012
    用linux的话可以从这里生成font.conf,导入系统。
    http://wenq.org/cloud/fcdesigner_local.html
    这个页面上按照你想要的字体优先级拖动,比如把Monaco放第一,文泉驿放第二。然后系统中所有能设置字体的地方使用sans-serif serif monospace三个虚拟字体即可。
    cuijiudai
        70
    cuijiudai  
       Oct 24, 2012
    @mechille 你是什么字体?
    mechille
        71
    mechille  
       Oct 25, 2012
    @cuijiudai Menlo
    kutata
        72
    kutata  
       Oct 26, 2012
    @reducm +1
    calinder
        73
    calinder  
       Oct 26, 2012
    Monaco
    situch
        74
    situch  
       Oct 26, 2012   1
    Source Code Pro
    idleness
        75
    idleness  
       Oct 26, 2012
    Courier New居然没人用啊
    atom
        76
    atom  
       Oct 26, 2012
    有天下午我换了字体,发现一行代码都写不出来
    shaobin0604
        77
    shaobin0604  
       Oct 26, 2012
    ubuntu eclipse monospace
    windows vs consolas
    RagnarokStack
        78
    RagnarokStack  
       Oct 26, 2012
    YaHei Consolas Hybrid +1
    lztrey90
        79
    lztrey90  
       Oct 27, 2012
    在 Mac 下基本把所有开发工具的字体都换成 DejaVu Sans Mono
    san3ye
        80
    san3ye  
       Oct 27, 2012
    mac下Menlo
    timonwong
        81
    timonwong  
       Oct 27, 2012
    DejaVu Sans Mono + 1
    Narcissu5
        82
    Narcissu5  
       Oct 28, 2012
    @idleness courier new 的握爪,这字体神奇之处就在于再乱的代码用它显示都比较整洁
    vivianalive
        83
    vivianalive  
       Oct 28, 2012
    Mac下用Espresso Mono, Win下用Source Code Pro
    linzhavon
        84
    linzhavon  
       Oct 28, 2012
    雅黑不错
    revlis7
        85
    revlis7  
       Oct 28, 2012
    Courier New
    isPythoner
        86
    isPythoner  
       Feb 7, 2015
    source code pro semibold 13.3px,
    courier new bold 13.3px,
    consolas bold 13px,
    yahei consolas hybrid 13.3px,
    profontwindows 14px
    qw7692336
        87
    qw7692336  
       Feb 22, 2016
    @icerunz 用什么合
    eastegg
        90
    eastegg  
       Sep 22, 2016
    看来没人说到 FiraCode , github 上 start 人数不少呢,还有个<a href="http://sourcefoundry.org/hack" target="_blank">Hack</a>字体也不错
    <img src="https://github.com/tonsky/FiraCode/raw/master/showcases/all_ligatures.png" class="embedded_image" border="0">
    eastegg
        91
    eastegg  
       Sep 22, 2016
    @mechille 请问图片怎么发的?
    eastegg
        92
    eastegg  
       Sep 22, 2016
    另外发出去的回复可以删除么?
    zhaoxingya
        93
    zhaoxingya  
       Oct 18, 2017
    consolas 看够了,换用 monaco,目前的组合是 monaco+atom+linux。
    About     Help     Advertise     Blog     API     FAQ     Solana     5741 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 243ms UTC 03:25 PVG 11:25 LAX 20:25 JFK 23:25
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86