浏览代码

* Define default layout as fullwidth for generated fonts.

pull/1/head
Sam Hocevar sam 18 年前
父节点
当前提交
e3f4dc4375
共有 8 个文件被更改,包括 60 次插入54 次删除
  1. 二进制
      fonts/bigmono12.tlf
  2. 二进制
      fonts/bigmono9.tlf
  3. 二进制
      fonts/mono12.tlf
  4. 二进制
      fonts/mono9.tlf
  5. +53
    -53
      fonts/smblock.tlf
  6. 二进制
      fonts/smmono12.tlf
  7. 二进制
      fonts/smmono9.tlf
  8. +7
    -1
      tools/caca2tlf.c

二进制
fonts/bigmono12.tlf 查看文件


二进制
fonts/bigmono9.tlf 查看文件


二进制
fonts/mono12.tlf 查看文件


二进制
fonts/mono9.tlf 查看文件


+ 53
- 53
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
@


二进制
fonts/smmono12.tlf 查看文件


二进制
fonts/smmono9.tlf 查看文件


+ 7
- 1
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, '@');



正在加载...
取消
保存