From 3df44a05f7889ecb7491c9ca558ced9041b7a6f3 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 16 Jun 2020 18:48:51 -0400 Subject: [PATCH] Add link to 'glyph hell' --- README.md | 1 + src/fetch/main.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index caaa7dcc9..6224ea863 100644 --- a/README.md +++ b/README.md @@ -366,6 +366,7 @@ up someday **FIXME**. * [Dark Corners of Unicode](https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/) * [UTF-8 Decoder Capability and Stress Test](https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt) * [Emoji: how do you get from U+1F355 to 🍕?](https://meowni.ca/posts/emoji-emoji-emoji/) +* [Glyph Hell: An introduction to glyphs, as used and defined in the FreeType engine](http://chanae.walon.org/pub/ttf/ttf_glyphs.htm) #### Useful man pages * Linux: [console_codes(4)](http://man7.org/linux/man-pages/man4/console_codes.4.html) diff --git a/src/fetch/main.c b/src/fetch/main.c index e260478bf..5b8d30a6d 100644 --- a/src/fetch/main.c +++ b/src/fetch/main.c @@ -2,8 +2,8 @@ #include typedef struct distro_info { - const char* name; - const char* logofile; + const char* name; // must match 'lsb_release -i' + const char* logofile; // kept at original aspect ratio, lain atop bg } distro_info; static distro_info distros[] = { @@ -96,7 +96,7 @@ ncneofetch(struct notcurses* nc){ return 0; } -int main(int argc, const char** argv){ +int main(void){ if(setlocale(LC_ALL, "") == NULL){ fprintf(stderr, "Warning: couldn't set locale based off LANG\n"); }