Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于默认匹配的问题 #2

Open
outloudvi opened this issue Jun 12, 2019 · 0 comments
Open

关于默认匹配的问题 #2

outloudvi opened this issue Jun 12, 2019 · 0 comments

Comments

@outloudvi
Copy link

outloudvi commented Jun 12, 2019

L29-L34

这里大概是提供了一个默认字体用于匹配不存在的字体。不过在这种情况下,部分软件(例如 Typora 或者一些 Electron 程序)按顺序匹配字体的时候会发生匹配错误。

例如:Typora 的 GitHub 主题 YAML 头的字体为:

font-family: "Lucida Console",Consolas,"Courier",monospace

没有安装 "Lucida Console" 字体,在目前的 fontconfig 下是这样:

image

如果在 fontconfig 中删去默认匹配的话是这样:

image

如果删去这些行的话,会有什么其它的问题么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant