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

2017-08-07 01:01:41 +08:00
 soratadori

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 又会出现语法解析的问题,总之也不太方便。所以先问问能不能直接就在字体层面上解决了。

2623 次点击
所在节点    程序员
5 条回复
ynyounuo
2017-08-07 01:38:42 +08:00
Inziu Iosevka
/t/212023
soratadori
2017-08-07 02:26:11 +08:00
@ynyounuo 谢了,挺好使。
v 站这个地址失效了,可以到这里下载(不知道和 v 站那个帖子的作者是不是同一个人)
https://be5invis.github.io/Iosevka/inziu.html
linux40
2017-08-07 06:22:29 +08:00
什么操作系统? freetype2 的可以设置.font.conf。
ynyounuo
2017-08-07 07:07:07 +08:00
@soratadori 是的,不过他在 V 站换了新 ID
ynyounuo
2017-08-07 07:16:42 +08:00
@soratadori
https://github.com/be5invis/Iosevka/issues/196
不过貌似现在没有带中文的 Inziu,
其实用多了就习惯了,这款字体各方面素质都非常优秀。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/380901

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX