Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
преди 16 години
Sam Hocevar
ee56ef1867
* Added glyphs to our default fonts:
+ Geometric Shapes, Halfwidth and Fullwidth Forms (as suggested by Ben
Wiley Sittler)
+ Miscellaneous Symbols (as suggested by Mohammed Adnène Trojette)
преди 17 години
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
преди 18 години
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
преди 18 години
Sam Hocevar
f1f00897c5
* Fix shadowing declarations.
преди 18 години
Sam Hocevar
dbf07a9a27
* Add maxwidth and maxheight members to the font format.
преди 18 години
Sam Hocevar
5d59b719c8
* Add CJK punctuation to the default fonts.
* Minor changes to the font2tga test program.
преди 18 години
Sam Hocevar
eb017043ab
* Support fullwidth fonts.
* Add Katakanas and Hiraganas to the default fonts.
преди 18 години
Sam Hocevar
4fa891b61b
* Slightly changed the font header information. No one distributes libcaca
fonts yet anyway :-)
преди 18 години
Sam Hocevar
9137c0a059
* Export the UTF-8 / UTF-32 / CP437 character conversions to applications.
преди 18 години
Sam Hocevar
74e2bdf587
* Elite trick in the font generator to cope with C89's string length
limitation of 509 characters. Instead of doing:
char foo[10] = "abcdefghij";
we now do:
struct { char f1[4], f2[4], f3[2]; } foo = { "abcd", "efgh", "ij" };
преди 18 години
Sam Hocevar
c47c1d3118
* Optimise similar glyphs when generating a font. Given how many glyphs
are unavailable, this is a significant gain.
преди 18 години
Sam Hocevar
17e1e490d6
* Added a few more Unicode blocks to the default fonts.
преди 18 години
Sam Hocevar
b29977cebe
* Hardcode a few CP437 glyphs in makefont.c because they don't look that
good with Pango.
преди 18 години
Sam Hocevar
b2d84d524d
* Factored more UTF32 to UTF8 conversions using _cucul_utf32_to_utf8().
преди 18 години
Sam Hocevar
89bfc20006
* Added Unicode range U+2200 - U+22FF (Mathematical Operators) to the
built-in font so that we now cover all of CP437.
преди 18 години
Sam Hocevar
4a1507c398
* Renamed htons/htonl to hton16/hton32 to avoid useless conflicts.
преди 18 години
Sam Hocevar
d04b853800
* Look for htons/htonl in netinet/in.h in addition to arpa/inet.h
* Implement htons/htonl in common.h just in case.
преди 18 години
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
преди 18 години
Sam Hocevar
5f4a761ce0
* Cosmetic changes.
преди 18 години
Sam Hocevar
ac3283f07f
* Cosmetic code changes and minor optimisations.
преди 18 години
Sam Hocevar
5d2afb9232
* Made makefont more configurable. Also, store the commandline in a comment
so that the font can be easily rebuilt.
преди 18 години
Sam Hocevar
c1669600af
* Some cleaning up in makefont.c.
преди 18 години
Sam Hocevar
c1e5f30692
* Fixed 4, 2 and 1-bit font rendering.
* Replaced the 8-bit internal font with a 4-bit one.
преди 18 години
Sam Hocevar
fed62ed798
* Added a font creator that uses pango to render glyphs.
преди 18 години