V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
soratadori
V2EX  ›  程序员

有没有斜体和粗体跟"常规"宽度一样的等宽的中文字体

  •  
  •   soratadori · 2017-08-07 01:01:41 +08:00 · 2580 次点击
    这是一个创建于 2458 天前的主题,其中的信息可能已经有所发展或是发生改变。

    sublime text3 以前的版本是 italic 和 bold 两者全都要和 regular 的宽度一样,才会显示斜体和粗体,后来的版本修复了这个限制————谁不一样谁不显示,一样的则显示。

    The only change was made that if an italic and the regular are monospace, but bold is a different width, then we now enable the italic. Previously if either bold or italic were a different width, neither would be enabled.
    
    We still won't use bold, italic or bold/italic fonts if they are a different width than the regular face.
    
    font face "xxxxx" has different widths for bold characters, disabling to prevent text reflow
    

    我现在手上有的基于第三方个人修改的中文等宽字体都是只有 italic 的宽度和 regular 的宽度一样,而 bold 的宽度不一样。

    我得拿来写 markdown,如果用纯英文字体还得搭配 mactype 食用,否则就太恶心了,而我平时又不爱用这东西。如果换 vscode 或者 atom 又会出现语法解析的问题,总之也不太方便。所以先问问能不能直接就在字体层面上解决了。

    第 1 条附言  ·  2017-08-07 02:53:06 +08:00
    假如不需要像 Inziu Iosevka 这种严格的一个中文=2 个英文的,只要带有中文的就行,有推荐不,那英文部分挤得实在是看不习惯→_→
    5 条回复    2017-08-07 07:16:42 +08:00
    ynyounuo
        1
    ynyounuo  
       2017-08-07 01:38:42 +08:00 via iPhone
    Inziu Iosevka
    /t/212023
    soratadori
        2
    soratadori  
    OP
       2017-08-07 02:26:11 +08:00
    @ynyounuo 谢了,挺好使。
    v 站这个地址失效了,可以到这里下载(不知道和 v 站那个帖子的作者是不是同一个人)
    https://be5invis.github.io/Iosevka/inziu.html
    linux40
        3
    linux40  
       2017-08-07 06:22:29 +08:00 via Android
    什么操作系统? freetype2 的可以设置.font.conf。
    ynyounuo
        4
    ynyounuo  
       2017-08-07 07:07:07 +08:00 via iPhone
    @soratadori 是的,不过他在 V 站换了新 ID
    ynyounuo
        5
    ynyounuo  
       2017-08-07 07:16:42 +08:00 via iPhone
    @soratadori
    https://github.com/be5invis/Iosevka/issues/196
    不过貌似现在没有带中文的 Inziu,
    其实用多了就习惯了,这款字体各方面素质都非常优秀。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4357 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:57 · PVG 17:57 · LAX 02:57 · JFK 05:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.