Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

For variable fonts; cv13 only changes б into Serbian Cyrillic form; but г, д, и, п, and т don't get changed into Serbian Cyrillic forms.

未关闭
#386 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
44/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
领域
design

调研方向

在 Fontdrop 中使用 slant 0 和 -11,并启用 cv13,复现 Monaspace Argon Var.ttf 的问题,然后与 MonaspaceArgon-ExtraLightItalic.otf 进行比较。检查可变字体如何处理六个塞尔维亚西里尔字符 б、г、д、и、п 和 т;完成标准是 cv13 在可变字体中产生预期的字形变化,与斜体静态字体的行为一致。

由索引模型根据 Issue 内容生成。

描述

Disclaimer: I don't speak languages that use Cyrillic characters so my knowledge of the script is fairly limited.

I was reading about the difference of Cyrillic characters between those in Russia, Bulgaria (available within the opentype feature cv12 in Monaspace fonts) and Serbia (available within the opentype feature cv13 in Monaspace fonts).
See also: https://en.wikipedia.org/wiki/Cyrillic_alphabets#/media/File:Cyrillic_alternates.svg

Afterwards I looked into implementation of this on other fonts, it seems that Cascadia Code/Cascadia Mono implement both Bulgarian and Serbian Cyrillic glyphs.

  • Bulgarian Cyrillic is available within the opentype feature locl. (which is harder to utilize than cvxx / ssxx so I think that Monaspace's implementation is better than that of Cascadia in this regard)
  • Serbian Cyrillic is available for the character б, г, п and т тwithin the opentype feature ss03, but only for the italic font files. (No upright Serbian Cyrillic glyphs)

Back to Monaspace fonts, after I inspect some Monaspace font files with Fontdrop, it appears that cv13 is supposed to be able to alter up to six characters: б, г, д, и, п, and т. Where only the first character (б) would be changed into in the Serbian Cyrillic glyph in the upright fonts, and all of these 6 characters would be changed into in the Serbian Cyrillic glyph in the italic fonts. Although all fonts have no problem changing the first character (б) into the Serbian Cyrillic glyph. I couldn't get the variable font files to change the remaining 5 characters into the Serbian Cyrillic glyph at all. Which is strange since all italic static font files I've tested can change all 6 characters into the Serbian Cyrillic glyph with no problem.

Gallery:
Image 1, viewing Monaspace Argon Var.ttf with Fontdrop with slant=0 (upright) and cv13 disabled

Image

Image 2, viewing Monaspace Argon Var.ttf with Fontdrop with slant=-11 (italic) and cv13 disabled

Image

Image 3, viewing Monaspace Argon Var.ttf with Fontdrop with slant=0 (upright) and cv13 enabled

Image

Image 4, viewing Monaspace Argon Var.ttf with Fontdrop with slant=-11 (italic) and cv13 enabled

Image

Image 5, viewing MonaspaceArgon-ExtraLight.otf with Fontdrop with cv13 disabled

Image

Image 6, viewing MonaspaceArgon-ExtraLightItalic.otf with Fontdrop with cv13 disabled

Image

Image 7, viewing MonaspaceArgon-ExtraLight.otf with Fontdrop with cv13 enabled

Image

Image 8, viewing MonaspaceArgon-ExtraLightItalic.otf with Fontdrop with cv13 enabled

Image

As it can be seen here, behavior of variable fonts in image 4 is incorrect and, to the best of my understanding, should be like in image 8.

Closing notes:

  1. I haven't checked every font files as there are 1485 Monaspace font files in total. (As of current version: 1.4)
  2. I haven't seriously checked on the Bulgarian Cyrillic glyphs. Though everything about them seems normal for the time being.
  3. The text shown in the above screenshots is:

ШИРОКАЯ ЭЛЕКТРИФИКАЦИЯ ЮЖНЫХ ГУБЕРНИЙ ДАСТ МОЩНЫЙ ТОЛЧОК ПОДЪЁМУ СЕЛЬСКОГО ХОЗЯЙСТВА.
Б Г Д И П Т
широкая электрификация южных губерний даст мощный толчок подъёму сельского хозяйства.
б г д и п т

主要语言
Shell
星标
19.6k
派生
323
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/monaspace 的其他 Issue

查看 githubnext/monaspace 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。