Werner Almesberger
|
685cd809db
|
tools/libtxt/: add font search path (untested)
|
2012-07-01 20:59:49 -03:00 |
|
Werner Almesberger
|
236ef1dad0
|
tools/libtxt/font.c: split load_image_file (load from open file) off load_image
|
2012-07-01 20:51:47 -03:00 |
|
Werner Almesberger
|
21e4fb267e
|
tools/libtxt/: introduce utility functions alloc_size and alloc_type
|
2012-07-01 20:43:04 -03:00 |
|
Werner Almesberger
|
d33449e128
|
tools/libtxt/: move alloc_sprintf from font.c to util.h, for later sharing
|
2012-07-01 20:32:56 -03:00 |
|
Werner Almesberger
|
60e9a1e919
|
tools/libtxt/edit.c (text2edit): correct handling of newlines
|
2012-06-30 14:57:45 -03:00 |
|
Werner Almesberger
|
3faf58c601
|
tools/libtxt/font.c (do_draw): we can now have negative coordinates; clip them too
|
2012-06-30 13:57:03 -03:00 |
|
Werner Almesberger
|
5e94179a29
|
tools/libtxt/edit.c (text2edit): disentangle confused logic of "e" variable
We used it for the whole list and the current element, which didn't work
very well.
|
2012-06-30 13:14:57 -03:00 |
|
Werner Almesberger
|
ccc27577cb
|
tools/libtxt/edit.c (text2edit): properly finish parsing (it always failed)
|
2012-06-30 13:02:43 -03:00 |
|
Werner Almesberger
|
6ffcd815f9
|
tools/libtxt/font.c (free_image, free_font): allow NULL pointer
|
2012-06-30 12:59:50 -03:00 |
|
Werner Almesberger
|
350283375c
|
tools/libtxt/: create library instead of executable
|
2012-06-30 12:52:01 -03:00 |
|
Werner Almesberger
|
56290e0174
|
tools/libtxt/: add edit compiler (untested)
|
2012-06-30 12:34:18 -03:00 |
|
Werner Almesberger
|
2a83110369
|
tools/libtxt/: add image drawing (future <IMG name> directive)
|
2012-06-30 12:01:24 -03:00 |
|
Werner Almesberger
|
e2eced62a2
|
tools/libtxt/edit.c: forgot to commit in 67a3ecc798
|
2012-06-30 11:44:09 -03:00 |
|
Werner Almesberger
|
3ef4fb3ca2
|
tools/libtxt/: make_font takes ownership of the image
This way, we don't need to track/free the image separately.
|
2012-06-30 11:43:13 -03:00 |
|
Werner Almesberger
|
67a3ecc798
|
tools/libtxt/: add rendering of (compiled) edits (untested, WIP)
|
2012-06-29 22:52:25 -03:00 |
|
Werner Almesberger
|
d05c6a9558
|
tools/libtxt/: restructure to make more modular and avoid global variables
|
2012-06-29 22:21:30 -03:00 |
|
Werner Almesberger
|
60c8145991
|
tools/libtxt/fonts/: 4x5, 4x7, 5x5, and 5x7 font
|
2012-06-29 21:04:58 -03:00 |
|
Werner Almesberger
|
2514c0891a
|
tools/libtxt/: text composition library (WIP)
|
2012-06-29 21:04:11 -03:00 |
|