File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ bit -font ithaca -color 31 "Red Text"
121121# List all fonts
122122bit -list
123123
124+ # Load custom font or directory of fonts (along with built-in fonts)
125+ bit -load ./myfont.bit
126+ bit -load ./fonts/
127+
124128# Show help
125129bit -help
126130```
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ func main() {
6767 fmt .Fprintf (os .Stderr , " bit -font ithaca -color \" #FF0000\" \" Red Hex\" # Hex color\n " )
6868 fmt .Fprintf (os .Stderr , " bit -font dogica -color 31 -gradient 34 \" Gradient\" # Gradient\n " )
6969 fmt .Fprintf (os .Stderr , " bit -font pressstart -color 32 -shadow \" Shadow\" # With shadow\n " )
70- fmt .Fprintf (os .Stderr , " bit -load ./myfont.bit \" Custom\" # Load custom font file\n " )
71- fmt .Fprintf (os .Stderr , " bit -load ./fonts/ -list # Load custom font directory\n " )
70+ fmt .Fprintf (os .Stderr , " bit -load ./myfont.bit \" Custom\" # Load custom font file\n " )
71+ fmt .Fprintf (os .Stderr , " bit -load ./fonts/ -list # Load custom font directory\n " )
7272 }
7373
7474 flag .Parse ()
You can’t perform that action at this time.
0 commit comments