Open Dentrax opened 3 years ago
Currently, none of below are working as expected. I could not understand how to use
--font
flag in correct way. The fonts that described in README is built-in fonts? Can not we give custom font if it already installed?* `silicon --from-clipboard -l yaml -f "SourceCodePro"` * `silicon --from-clipboard -l yaml -f "SourceCodePro=15"` * `silicon --from-clipboard -l yaml -f "SourceCodePro:15"`
Custom fonts:
* `silicon --from-clipboard -l yaml -f "./Downloads/my-custom-font.tff"`
Both the first and the second should work. What do you mean "not working as expected"? What's the output of these two commands?
Silicon can use custom fonts. But currently, they need to be installed into the system first. I will improve this.
And please describe what the purpose of
;
in-f
flag.(i.e: -f "Hack; SourceCodePro")
Just a delimiter.
What
Hack;
means?
It's the built-in font of silicon.
It would be great if you create a new flag called:
--list-available-fonts
.
That's a good idea. Thanks for your advice.
Currently, none of below are working as expected. I could not understand how to use
--font
flag in correct way. The fonts that described in README is built-in fonts? Can not we give custom font if it already installed?silicon --from-clipboard -l yaml -f "SourceCodePro"
silicon --from-clipboard -l yaml -f "SourceCodePro=15"
silicon --from-clipboard -l yaml -f "SourceCodePro:15"
Custom fonts:
silicon --from-clipboard -l yaml -f "./Downloads/my-custom-font.tff"
And please describe what the purpose of
;
in-f
flag.(i.e: -f "Hack; SourceCodePro")
WhatHack;
means? What else can be used there? Like,-f "Nerd; JetBrainsMono=15"
are correct?You give an example in font.rs but it is not included in fonts folder. It would be great if you create a new flag called:
--list-available-fonts
.