1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-12-23 16:26:46 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
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