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

关于字体问题 #225

Open
xkjt-123k1 opened this issue Jan 7, 2025 · 1 comment
Open

关于字体问题 #225

xkjt-123k1 opened this issue Jan 7, 2025 · 1 comment

Comments

@xkjt-123k1
Copy link

本人在 config.json 中添加了

"style":"<style>@font-face {font-family: 'CustomFont';src: url('https://cdn.jsdmirror.com/gh/lxgw/975maru@master/TTF%20SC/975MaruSC-Bold.ttf) format('truetype');}#postBody {font-family: CustomFont;}</style>"

我的字体文件cdn是可用的,config.json也是正确格式,请您帮一下!

@Meekdai
Copy link
Owner

Meekdai commented Jan 8, 2025

1、你之前就提过这问题,没有必要再重新开一个issue。#223
2、你ttf的后面漏掉了一个单引号

url('https://cdn.jsdmirror.com/gh/lxgw/975maru@master/TTF%20SC/975MaruSC-Bold.ttf') 

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

2 participants