We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
可变字体(VF)需要对 fonts.xml 里面调用 font??w?.ttf 的语句进行调整(不限于 zh-Hans),参考以下语句:
font??w?.ttf
zh-Hans
<family lang="zh-Hans"> <font weight="100" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="150" /> </font> <font weight="200" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="200" /> </font> <font weight="300" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="250" /> </font> <font weight="350" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="305" /> </font> <font weight="400" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="340" /> </font> <font weight="500" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="400" /> </font> <font weight="550" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="450" /> </font> <font weight="600" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="500" /> </font> <font weight="700" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="540" /> </font> <font weight="900" style="normal">MiLanProVF.ttf <axis tag="wght" stylevalue="600" /> </font> </family>
其中 MiLanProVF.ttf 可以改成您要更换的 VF 字体的文件名,可变字体的字重值(whgt 轴的 stylevalue)可以自己设定。
whgt
stylevalue
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: