Commit graph

133 commits

Author SHA1 Message Date
Sam Hocevar
2427741182 * Kerning support. We used to have:
__   __  _
 \ \ / / (_)  ___   _  _  __ __    _ __   ___   _ _   __
  \ V /  | | / -_) | || | \ \ /   | '_ \ / _ \ | '_| / _|
   \_/   |_| \___|  \_,_| /_\_\   | .__/ \___/ |_|   \__|
                                  |_|

   Now we have:

__   __ _
\ \ / /(_) ___  _  _ __ __  _ __  ___  _ _  __
 \ V / | |/ -_)| || |\ \ / | '_ \/ _ \| '_|/ _|
  \_/  |_|\___| \_,_|/_\_\ | .__/\___/|_|  \__|
                           |_|

   Now we just need smushing.
2006-11-14 23:42:11 +00:00
Sam Hocevar
c325cb1c81 * Support for ANSI escape codes in the input:
http://zoy.org/~sam/toilet-ansi.png
      http://zoy.org/~sam/toilet-ansi2.png
  * Empty lines are currently broken.
2006-11-13 01:02:05 +00:00
Sam Hocevar
c9eff30818 * Fix max width in smblock.tlf. 2006-11-12 22:52:05 +00:00
Sam Hocevar
981e398b67 * Now that libcaca 0.99.beta10 is out, we can switch to the new API. 2006-11-12 20:37:58 +00:00
Sam Hocevar
9b7f15b1b1 * Double width support in caca2tlf. 2006-11-12 18:09:54 +00:00
Sam Hocevar
29b3408410 * Add a "make fonts" rule to rebuild all generated fonts. 2006-11-12 18:02:15 +00:00
Sam Hocevar
9162cd19e9 * Generate the manpage in the make rule, not the configure rule, because
at configure time ${datarootdir} depends on ${prefix} which is defined
    a bit too late in the script.
2006-11-10 14:58:12 +00:00
Sam Hocevar
67988bb31f * Allow setting the font directory using --datadir / --datarootdir. 2006-11-10 14:30:22 +00:00
Sam Hocevar
9428fa4d2f * Do not cache ac_build_date. 2006-11-10 14:19:13 +00:00
Sam Hocevar
2a317ad012 * Add a manual page. 2006-11-10 08:54:04 +00:00
Sam Hocevar
3632a838a0 * Output filter list to stdout, not stderr. 2006-11-10 08:29:10 +00:00
Sam Hocevar
41ffd5d7b8 * Moved export stuff in export.c.
* Bail out with an error if the requested export format is unsupported.
2006-11-10 07:56:55 +00:00
Sam Hocevar
7c880dc3f5 * Fix signed/unsigned warning. 2006-11-10 07:51:21 +00:00
Sam Hocevar
93a52058e0 * Use "-F list" to list available filters.
* Use "-E" to specify export format, "-E list" to list them.
2006-11-10 07:47:17 +00:00
Sam Hocevar
419adf3cc5 * Don't crash if an export error occurs. 2006-11-10 07:38:52 +00:00
Sam Hocevar
b93cdd971c * Updated code to the beta9 API. 2006-11-09 21:58:43 +00:00
Sam Hocevar
d0755d80a5 * Minor cosmetic change in the configure output. 2006-11-09 21:58:21 +00:00
Sam Hocevar
4af6e12627 * Ignore negative indices in font data. 2006-11-06 17:39:42 +00:00
Sam Hocevar
374627e287 * Make figlet font importer more tolerant with empty lines. 2006-11-06 17:33:31 +00:00
Sam Hocevar
cbc2d320e1 * Updated mono9 and mono12 fonts and added small and big variants. 2006-11-06 17:24:40 +00:00
Sam Hocevar
1cd33835f5 * Add --half and --quarter options to caca2tlf. 2006-11-06 17:24:02 +00:00
Sam Hocevar
a550751f89 * Got rid of the mono9.c renderer. We now have a .tlf font instead. 2006-11-06 01:13:38 +00:00
Sam Hocevar
b0fad00497 * Added two new fonts created with caca2tlf:
caca2tlf "Monospace 9" | zip >| fonts/mono9.tlf
      caca2tlf "Monospace Bold 12" | zip >| fonts/mono12.tlf
2006-11-06 01:11:27 +00:00
Sam Hocevar
eb711671a2 * Added the caca2tlf tool, which converts a libcaca font into a TOIlet font
using a naive pixel-to-glyphs algorithm. I will improve it later.
2006-11-06 01:09:44 +00:00
Sam Hocevar
dadd049ca3 * Distribute fonts with the tarball. 2006-11-06 00:55:49 +00:00
Sam Hocevar
8cca295e10 * Add a sanity check to the FIGlet font loader. 2006-11-06 00:45:34 +00:00
Sam Hocevar
3f44cc843f * Add missing toilet.h to the toilet sources. 2006-11-06 00:45:14 +00:00
Sam Hocevar
3bde5b8d8d * Fix uninitialised variable in the filter handler. 2006-11-04 17:43:13 +00:00
Sam Hocevar
b337442c2c * Make filters line-feed aware. 2006-10-26 13:30:14 +00:00
Sam Hocevar
711021abc7 * Factor code from renderers to main render.c functions. 2006-10-26 13:14:37 +00:00
Sam Hocevar
99f3252c73 * Make stdin input line-aware so that we don't have to wait until EOF to
display stuff.
  * Reorganise stuff and fix memory leaks.
2006-10-26 13:07:58 +00:00
Sam Hocevar
3549ea3988 * Get rid of -g -i -m short options, only keep --gay --irc --metal.
* Add --html and --tga flags.
2006-10-26 12:12:44 +00:00
Sam Hocevar
5edf3053de * Added filter_flip, filter_flop and filter_rotate.
* Add a -F flag to specify filters to apply. Can be specified more than
    once, and filters can be chained using ":", eg. "-F flip:gay".
2006-10-25 16:06:19 +00:00
Sam Hocevar
30b6ca2596 * Renamed filters.* to filter.*. 2006-10-24 12:39:57 +00:00
Sam Hocevar
f8a41ca9a0 * Support for PKZIP-compressed fonts using zlib. 2006-10-19 20:55:44 +00:00
Sam Hocevar
2ffabb05d0 * Check for zlib if available. 2006-10-19 20:53:36 +00:00
Sam Hocevar
9919145dad * Minor debugging information in the FIGlet font parser. 2006-10-19 20:53:07 +00:00
Sam Hocevar
7b76d57ab9 * Add feof() to the list of I/O functions. 2006-10-13 13:38:50 +00:00
Sam Hocevar
e21d948a17 * Moved I/O functions into a separate module. 2006-10-13 13:36:23 +00:00
Sam Hocevar
7629afd70b * Use fgets() instead of fscanf(). Uses an additional memory buffer, but
paves the way for custom IO functions.
2006-10-13 13:19:45 +00:00
Sam Hocevar
93f60439fd * Fix a crash when font opening fails. 2006-10-13 13:11:20 +00:00
Sam Hocevar
8a615087eb * Fixed an ifdef error that caused -t to be ignored. 2006-10-10 07:24:41 +00:00
Sam Hocevar
953021e2d6 * Fixed the FIGlet renderer. It now has char wrapping and stdin input. 2006-10-10 07:20:15 +00:00
Sam Hocevar
56673021ed * Properly handle \r \n \t in the big and tiny renderers. 2006-10-10 07:15:28 +00:00
Sam Hocevar
24156a3003 * The mono9 driver works again. With wrapping and stdin reading. 2006-10-09 23:54:40 +00:00
Sam Hocevar
1c733d2212 * Break everything. Temporarily. Only the term output works.
* Allow to read from stdin.
  * Wrap at terminal width (currently letter-wrap, not word-wrap).
2006-10-08 12:14:13 +00:00
Sam Hocevar
d1ba08cdf0 * Retrieve the configure.ac timestamp at configure time and store it in
a C macro for better FIGlet emulation.
2006-10-08 12:04:04 +00:00
Sam Hocevar
99dbeaa263 * Fully reworked the katakana part of Small Block. 2006-10-05 21:43:53 +00:00
Sam Hocevar
cbe1037e10 * Added Unicode drawing blocks to Small Block. 2006-10-04 22:15:23 +00:00
Sam Hocevar
4ecdb49dc9 * Added most of latin1 additional characters. 2006-10-04 21:58:52 +00:00