Commit graph

122 commits

Author SHA1 Message Date
Sam Hocevar
8390d626f9 * Fixed a few unimportant memory leaks upon error. 2006-09-30 18:06:47 +00:00
Sam Hocevar
ac7d345e90 * Fixed a lot of memory leaks and added a few error checks. 2006-09-30 17:53:59 +00:00
Sam Hocevar
895fd3ec25 * Updated font data. 2006-09-30 16:24:27 +00:00
Sam Hocevar
3093bfa71f * New font: Small Braille. 2006-09-30 16:19:42 +00:00
Sam Hocevar
6202daa50c * Created emboss2.tlf with a simple sed rule. 2006-09-30 11:47:22 +00:00
Sam Hocevar
7b36676bdf * Created emboss.tlf, a Unicode font for the official TOIlet distribution. 2006-09-30 11:34:37 +00:00
Sam Hocevar
67e7bd971f * Better error checking in the figlet renderer.
* Allow to open fonts that have Unicode data (requires libcucul 0.99.beta6
    which is not yet released).
2006-09-30 11:06:20 +00:00
Sam Hocevar
d9bb31a40e * Make the --metal filter only change the colour, not the characters. 2006-09-30 10:48:32 +00:00
Sam Hocevar
c025bc4f2b * Implemented figlet's -t (adapt to terminal's width). 2006-09-27 07:18:20 +00:00
Sam Hocevar
15a742ce5c * Added -d and completed -I options. 2006-09-26 23:13:01 +00:00
Sam Hocevar
256071d876 * Implemented figlet's -I (infocode) option.
* Added -w flag. Ignored for now.
2006-09-26 22:54:15 +00:00
Sam Hocevar
eb4d081be1 * Crop the final canvas to the effective width.
* Fixed a bug that prevented loading characters after 127.
  * Allow to load fonts that hex-encode their Unicode values.
2006-09-26 21:58:26 +00:00
Sam Hocevar
f71113d6a6 * Fix libcucul font rendering. Now that the default canvas has a
transparent background, we need to explicitely draw our temporary string
    in white on black.
2006-09-26 21:51:13 +00:00
Sam Hocevar
02b3c15dc9 * Don't autocrop final canvas if it was rendered with the figlet engine. 2006-09-26 21:40:35 +00:00
Sam Hocevar
e80a522fcc * Do not try to autocrop a canvas that has only spaces. 2006-09-26 21:39:07 +00:00
Sam Hocevar
808a270565 * Improved support for figlet fonts. We can now load them and print text.
Still no smushing, no hard blanks, no line wrapping...
2006-09-26 13:57:01 +00:00
Sam Hocevar
b3bc7d4270 * Added content description to all source files. 2006-09-23 22:58:02 +00:00
Sam Hocevar
7c14f93b9d * Created skeleton for future FIGlet font handling. Nothing here yet. 2006-09-23 22:53:17 +00:00
Sam Hocevar
05204d2b7a * Split main.c into main.c/render.c/filters.c. 2006-09-23 19:54:20 +00:00
Sam Hocevar
669808400e * Added -m/--metal flag. Pretty ugly. 2006-09-23 19:27:19 +00:00
Sam Hocevar
622e8deeed * Import toilet source code from libcaca's repository. 2006-09-22 23:36:35 +00:00
Sam Hocevar
6076c47355 * Initial tree. 2006-09-22 17:03:41 +00:00