Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.45 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.45 KB

Moon Render

A small code to render characters using moon emoji in shell.

Example

Github Logos in Font Awesome:

"柒" in TW-Kai font:

"7sDream" in Fura Code(merge to one image using imagemagick):

Usage

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

Dependencies

LICENSE

GPLv3.