Sam Hocevar
c778d5301c
* Removed math.c from cucul, it's beyond uselessness. Kept cucul_rand in
cucul.c just in case.
18 lat temu
Sam Hocevar
47229fa0b3
* Truecolor support in the SVG and PostScript exporters.
18 lat temu
Sam Hocevar
b5f00c459c
* Implemented TGA image export.
18 lat temu
Sam Hocevar
5a476a29ae
* Implemented argb32 to rgb24fg/bg colour conversions.
18 lat temu
Sam Hocevar
3af72ff5f8
* Fixed abusive strictness in the font loader.
18 lat temu
Sam Hocevar
9f0a475645
* Moved cucul_set_color() from canvas.c to colour.c.
* Added cucul_set_truecolor() for non-ANSI colours.
* Added new argb32 -> rgb12 conversion functions.
18 lat temu
Sam Hocevar
17c065a49e
* Replaced "struct cucul_*" and "struct caca_*" types with opaque typedefs
such as cucul_dither_t instead of struct cucul_dither.
* Made cucul_buffer_t an opaque structure and implemented the two getters
cucul_get_buffer_data() and cucul_get_buffer_size().
* Documented all missing functions and function parameters.
18 lat temu
Sam Hocevar
ab3a5d8f90
* Fixed bad library name in pc file.
18 lat temu
Jean-Yves Lamoureux
408b8757eb
* Updated MSVC++ project (static library and src/*)
18 lat temu
Sam Hocevar
2c5ccb65e6
* Improved documentation in many places.
18 lat temu
Sam Hocevar
7b216060b4
* Ahaha I didn't even check that it compiled properly.
18 lat temu
Sam Hocevar
99aa400f26
* Only support version 1 fonts.
18 lat temu
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 lat temu
Sam Hocevar
93d3548d58
* Added a lot of sanity checks to the font parsing. It should now be
secure against broken files, but it probably needs peer review.
18 lat temu
Sam Hocevar
1911e368f4
* Fixed compilation warning.
18 lat temu
Sam Hocevar
b355e0581d
* Fixed colour conversion routines so that they work with ARGB too.
18 lat temu
Sam Hocevar
ea780d5321
* Implemented cucul_get_font_list() to retrieve the list of builtin fonts.
* Fixed font selection through cucul_font_load().
* Added a bigger 10x19 bold font.
18 lat temu
Sam Hocevar
ebfb2b388b
* Internal font support through cucul_load_font(). Documented that.
* Removed ugly hooks from test/font.c.
18 lat temu
Sam Hocevar
b40cfe1302
* Ugly overflow bug in the rendering code.
18 lat temu
Sam Hocevar
a273b3d7ec
* Implemented cucul_get_font_width() and cucul_get_font_height().
* Documented most font functions.
* Cleaned up cucul_render_canvas() and made it actually usable by external
programs. Removed ugly printf() debug calls.
18 lat temu
Sam Hocevar
41d475589c
* Renamed cucul_export into cucul_buffer. We'll use it for other things.
18 lat temu
Sam Hocevar
15bff441bc
* Putain de bordel de manche a couilles. I forgot to fix the font.
18 lat temu
Sam Hocevar
c1e5f30692
* Fixed 4, 2 and 1-bit font rendering.
* Replaced the 8-bit internal font with a 4-bit one.
18 lat temu
Sam Hocevar
9369b9a48f
* Created internal function _cucul_argb32_to_argb4() that splits an argb
fg/bg value into its separate argb 4-bit fields.
18 lat temu
Sam Hocevar
8fffb73b1e
* 4bpp fonts do not work yet. Replaced the built-in font with an 8bpp font
for the moment.
18 lat temu
Sam Hocevar
d8821beb81
* Created a built-in font from Bitstream Vera (Monospace 9).
18 lat temu
Sam Hocevar
1da6ea358b
* Slightly updated the font format and wrote a font loader. Also added a
skeleton for the renderer that will not last very long.
18 lat temu
Sam Hocevar
33060e0b5a
* New version of the font format.
18 lat temu
Sam Hocevar
a05603a774
* Added a file for future font handling routines. Currently only the font
format proposal is in this file. Feel free to comment.
18 lat temu
Sam Hocevar
83b4374fb4
* Avoid useless call to strlen() in the exporters.
* Removed '\x0f' from the IRC exporter until I understand why it was here.
18 lat temu
Sam Hocevar
5193172468
* Renamed bitmap.c into dither.c.
18 lat temu
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 lat temu
Sam Hocevar
988f2f4e92
* Replaced enum cucul_color with unsigned int. The size of an enum is not
really portable, and Visual Studio complains when they are not explicitely
cast.
18 lat temu
Sam Hocevar
cd0e8f7861
* Fixed old bugs I introduced in the exporters.
* Fixed exporter headers to make Doxygen happy.
18 lat temu
Sam Hocevar
34cf71d1ea
* Added pkgconfig files. Eh ouais mon gars.
18 lat temu
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
18 lat temu
Sam Hocevar
273371c6b1
* Fixed a syntax error. Gruik.
18 lat temu
Sam Hocevar
e8ae71156d
* Changed the cucul_set_bitmap_antialias() argument to a string.
18 lat temu
Sam Hocevar
eafbe7dd4b
* Of course I had to fuck up something. Here, PS export works again.
18 lat temu
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 lat temu
Sam Hocevar
c1664e356c
* Got rid of cucul_get_screen(). Use cucul_export() instead.
18 lat temu
Sam Hocevar
fcfbcd4000
* Check the magic bytes at the end of the buffer when cucul_load()ing it.
18 lat temu
Sam Hocevar
3b410fdc89
* Fixed old typo that caused qq->height to be uninitialised.
18 lat temu
Sam Hocevar
7f5fb19a39
* Set the default dithering mode to Floyd-Steinberg.
18 lat temu
Sam Hocevar
7be0932b8f
((`)_.._ ,'-. _..._ _._
* Ooops. Compilation fix. \,' '-._.-\ ' ` .-'
.' / (
/ S | _ _ \
| a \ o o |
; m .-. /
; ', '-.( '')-'
'. | ;-'
\ / /
/ /-._ __, 7 |
\ `\ \`` | | |
\ \_,\ | |_,\
'-`' \_,\
18 lat temu
Sam Hocevar
2213100258
* Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions.
18 lat temu
Sam Hocevar
cfadd8b64d
* Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING
environment variables handling. Replaced that with three per-bitmap
functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and
cucul_set_bitmap_dithering().
* Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast()
prototypes (but did not implement them yet).
* Added cucul_set_bitmap_charset() to choose what characters are going
to be used for the bitmap rendering.
* Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
18 lat temu
Sam Hocevar
e625e11d52
* Added cucul_get_export_list(). Returns a list of known export formats.
18 lat temu
Sam Hocevar
bca049e6d7
* Changed the 2nd argument of cucul_create_export to a string. This way we
can add new exporters without changing the API.
18 lat temu
Sam Hocevar
41db7b066a
* Implemented cucul_load() to reload a file that was saved with the
raw driver. I know it is inconsistent to have the loader in libcucul
and the exporter in libcaca but I'll find a way to harmonise that.
18 lat temu