JacobLinCool / LeetCode-Stats-Card

Show your dynamically generated LeetCode stats on your GitHub profile or your website!
https://leetcard.jacoblin.cool
MIT License
663 stars 82 forks source link

Broken fonts #108

Closed CrageJ closed 9 months ago

CrageJ commented 11 months ago

Hi,

I'm trying to use the font UnifrakturCook for my page, yet the font defaults to Times New Roman as if it were invalid font. The preview is broken both on https://leetcard.jacoblin.cool/ and on GitHub. No combination of themes fixes this. I do not know if other fonts are not working.

LeetCode Stats

Thanks.

JacobLinCool commented 9 months ago

Hi @CrageJ, it should be fixed now.

After investigating, I found that UnifrakturCook does not provide the regular font weight; only bold is available. Therefore, I rebuilt nano-font to include fonts with only bold weight.