A small code to render characters using moon emoji in shell.
Github Logos in Font Awesome:
"柒" in TW-Kai font:
"7sDream" in Fura Code(merge to one image using imagemagick):
Clone this repo and cd
into it.
Change config variables' value to meet your needs by edit line 23-28 in main.c
, then:
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./moon-render
If you don't have cmake:
$ gcc -I<path/to/freetype/header> -L<path/to/freetype/library> -lfreetype main.c -o moon-render
$ ./moon-render
Here is my command for example:
$ gcc -I/usr/local/include/freetype2 -L/usr/local/lib -lfreetype main.c -o moon-render
GPLv3.