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

fonts.xml 错误,NotoSerifCJK 与 NotoSansCJK 字重并非完全对应 #13

Closed
laggardkernel opened this issue Jan 31, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@laggardkernel
Copy link

laggardkernel commented Jan 31, 2020

脚本生成的 fonts.xml 根本不对,NotoSerifCJK 与 NotoSansCJK 字重并非完全对应。NotoSerif
拥有 semibold,extralight,但却没有 demilight, thin 字重。NotoSansCJK 拥有 Demilight, thin 却没有 Semibold, extralight.

以下是目前脚本生成的字体配置,

    <family lang="zh-Hans">
        <font weight="100" style="normal" index="2">NotoSansCJK-Thin.ttc</font>
        <font weight="100" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Thin.ttc</font>
        <font weight="300" style="normal" index="2">NotoSansCJK-Light.ttc</font>
        <font weight="300" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Light.ttc</font>
        <font weight="350" style="normal" index="2">NotoSansCJK-DemiLight.ttc</font>
        <font weight="350" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-DemiLight.ttc</font>
        <font weight="400" style="normal" index="2">NotoSansCJK-Regular.ttc</font>
        <font weight="400" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Regular.ttc</font>
        <font weight="500" style="normal" index="2">NotoSansCJK-Medium.ttc</font>
        <font weight="500" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Medium.ttc</font>
        <font weight="900" style="normal" index="2">NotoSansCJK-Black.ttc</font>
        <font weight="900" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Black.ttc</font>
        <font weight="700" style="normal" index="2">NotoSansCJK-Bold.ttc</font>
        <font weight="700" style="normal" index="2" fallbackFor="georgia">NotoSerifCJK-Bold.ttc</font>
    </family>
@simonsmh simonsmh added the bug Something isn't working label Feb 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants