Aloxaf / silicon

Create beautiful image of your source code.
MIT License
3.08k stars 82 forks source link

Chinese Font support? #241

Open geekqq opened 9 months ago

geekqq commented 9 months ago

There are Chinese charaters in the code, it won't generate the img, saying the fonts not found.

image image

Using command silicon --list-fonts showing no chinese fonts supported at all, how can I add chinese fonts? thanks

uihp commented 5 months ago

The '-f' arg should be set to installed fonts, according to 'Error occurs when load font'.