![]() |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
clfontft.cpp | ||
clfontft2.cpp | ||
ft.cpp | ||
main.c | ||
output.png | ||
stb_truetype.h | ||
stt.c |
README.md
Create Emoji Text via Freetype
# Build
admake rebuild
# Run
# NOTE(anjingyu): You should select a correct font for colorful emoji text!!!
.build/linux/x64/bin/Debug/clfontft2 -o output.png /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf 🐰
.build/linux/x64/bin/Debug/hbft /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf 🐰
.build/linux/x64/bin/Debug/clfontft2 -o output.png ~/.local/share/fonts/maple/MapleMono-SC-NF-Regular.ttf /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf 🐰🐰🐰bunny和我
# Nerd font
.build/linux/x64/bin/Debug/clfontft2 -o output.png ~/.local/share/fonts/maple/MapleMono-SC-NF-Regular.ttf "and和"