diff --git a/fonts/bigmono12.tlf b/fonts/bigmono12.tlf index b0554ac..bdcf4a4 100644 Binary files a/fonts/bigmono12.tlf and b/fonts/bigmono12.tlf differ diff --git a/fonts/bigmono9.tlf b/fonts/bigmono9.tlf index eaa7ac8..268af39 100644 Binary files a/fonts/bigmono9.tlf and b/fonts/bigmono9.tlf differ diff --git a/fonts/mono12.tlf b/fonts/mono12.tlf index 10d8412..70135df 100644 Binary files a/fonts/mono12.tlf and b/fonts/mono12.tlf differ diff --git a/fonts/mono9.tlf b/fonts/mono9.tlf index 33e0d07..cec9b00 100644 Binary files a/fonts/mono9.tlf and b/fonts/mono9.tlf differ diff --git a/fonts/smblock.tlf b/fonts/smblock.tlf index 5d6dd22..92b241a 100644 --- a/fonts/smblock.tlf +++ b/fonts/smblock.tlf @@ -23,23 +23,23 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▝ @ ▝ @@ ▜▝▌@ -▘▝ @ +▘▝$@ @ @@ -ABC@ + $@ ▟▟▖@ ▟▟▖@ -▝▝ @@ +▝▝$@@ ▗▙▖@ ▚▙ @ ▄▙▘@ - ▘ @@ + ▘$@@ █ ▌@ - ▞ @ + ▞$@ ▞▗▖@ ▘▝▘@@ ▞▚ @ -▚ @ +▚ $@ ▌▚▘@ ▝▘▘@@ ▝▌@ @@ -47,7 +47,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html @ @@ ▞ @ -▐ @ +▐$ @ ▝▖ @ ▝ @@ ▝▖ @ @@ -60,7 +60,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html @@ ▖ @ ▄▙▖@ - ▌ @ + ▌$@ @@ @ @ @@ -71,21 +71,21 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html @ @@ @ - @ + $@ ▗▖@ ▝▘@@ ▌@ - ▞ @ -▞ @ + ▞$@ +▞$ @ ▘ @@ ▞▀▖@ ▌▞▌@ ▛ ▌@ ▝▀ @@ -▗▌ @ - ▌ @ - ▌ @ -▝▀ @@ +▗▌$@ + ▌$@ + ▌$@ +▝▀$@@ ▞▀▖@ ▗▘@ ▗▘ @ @@ -155,7 +155,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▌ ▌@ ▀▀ @@ ▞▀▖@ -▌ @ +▌ $@ ▌ ▖@ ▝▀ @@ ▛▀▖@ @@ -251,8 +251,8 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▞ @ ▀▀▘@@ ▐▀▘@ -▐ @ -▐ @ +▐$ @ +▐$ @ ▝▀▘@@ ▌ @ ▝▖ @ @@ -295,7 +295,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▛▀ @ ▝▀▘@@ ▗▀▖@ -▐ @ +▐ $@ ▜▀ @ ▐ @@ @ @@ -344,7 +344,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▌@@ @ ▙▀▖@ -▌ @ +▌ $@ ▘ @@ @ ▞▀▘@ @@ -379,7 +379,7 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ▗▘ @ ▀▀▘@@ ▗▀ @ -▞ @ +▞$ @ ▐ @ ▀ @@ ▐ @ @@ -685,11 +685,11 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html 0x2580 ▀ UPPER HALF BLOCK ███@ ███@ - @ - @@ + $@ + $@@ 0x2584 ▄ LOWER HALF BLOCK - @ - @ + $@ + $@ ███@ ███@ 0x2588 █ FULL BLOCK @@ -698,45 +698,45 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html ███@ ███@@ 0x258C ▌ LEFT HALF BLOCK -█▌ @ -█▌ @ -█▌ @ -█▌ @@ +█▌$@ +█▌$@ +█▌$@ +█▌$@@ 0x2590 ▐ RIGHT HALF BLOCK ▐█@ ▐█@ ▐█@ ▐█@@ 0x2596 ▖ QUADRANT LOWER LEFT - @ - @ -█▌ @ -█▌ @@ + $@ + $@ +█▌$@ +█▌$@@ 0x2597 ▗ QUADRANT LOWER RIGHT - @ - @ + $@ + $@ ▐█@ ▐█@@ 0x2598 ▘ QUADRANT UPPER LEFT -█▌ @ -█▌ @ - @ - @@ +█▌$@ +█▌$@ + $@ + $@@ 0x2599 ▙ QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT -█▌ @ -█▌ @ +█▌$@ +█▌$@ ███@ ███@@ 0x259A ▚ QUADRANT UPPER LEFT AND LOWER RIGHT -█▌ @ -█▌ @ +█▌$@ +█▌$@ ▐█@ ▐█@@ 0x259B ▛ QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT ███@ ███@ -█▌ @ -█▌ @@ +█▌$@ +█▌$@@ 0x259C ▜ QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT ███@ ███@ @@ -745,32 +745,32 @@ on the TOIlet website at http://libcaca.zoy.org/toilet.html 0x259D ▝ QUADRANT UPPER RIGHT ▐█@ ▐█@ - @ - @@ + $@ + $@@ 0x259E ▞ QUADRANT UPPER RIGHT AND LOWER LEFT ▐█@ ▐█@ -█▌ @ -█▌ @@ +█▌$@ +█▌$@@ 0x259F ▟ QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT ▐█@ ▐█@ ███@ ███@@ 0x25A0 ■ BLACK SQUARE - @ + $@ ███@ ███@ - @@ + $@@ 0x30A1 ァ KATAKANA LETTER SMALL A @ ▄▄▖ @ - ▐▞ @ + ▐▞$ @ ▘ @@ 0x30A2 ア KATAKANA LETTER A ▗▄▄▄▖@ ▙▞ @ - ▗▘ @ + ▗▘$ @ ▘ @@ 0x30A3 ィ KATAKANA LETTER SMALL I @ diff --git a/fonts/smmono12.tlf b/fonts/smmono12.tlf index bb8e0a7..afc9227 100644 Binary files a/fonts/smmono12.tlf and b/fonts/smmono12.tlf differ diff --git a/fonts/smmono9.tlf b/fonts/smmono9.tlf index 43519d7..b47895f 100644 Binary files a/fonts/smmono9.tlf and b/fonts/smmono9.tlf differ diff --git a/tools/caca2tlf.c b/tools/caca2tlf.c index 5495014..8258071 100644 --- a/tools/caca2tlf.c +++ b/tools/caca2tlf.c @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) image = malloc(4 * iw * ih); out = cucul_create_canvas(0, 0); - printf("tlf2a$ %u %u %u 0 4 0 0 0\n", gh, gh - 1, fgw + 2); + printf("tlf2a$ %u %u %u -1 4 0 0 0\n", gh, gh - 1, fgw + 2); printf("==============================================" "==================================\n"); @@ -235,6 +235,12 @@ static void add_char(unsigned long int ch) break; } + if(ch == ' ' || ch == 0xa0) + { + cucul_draw_line(out, mygw - 1, 0, mygw - 1, gh - 1, '$'); + cucul_draw_line(out, mygw / 2, 0, mygw / 2, gh - 1, '$'); + } + cucul_draw_line(out, mygw, 0, mygw, gh - 1, '@'); cucul_put_char(out, mygw + 1, gh - 1, '@');