Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | text_set_width(), text_set_height(): New functions | Patrick McDermott | 2019-07-17 | 3 | -2/+25 |
| | | | | And fill in all the remaining rows in text_render(). | ||||
* | sgr(): Add reset code | Patrick McDermott | 2019-07-17 | 1 | -1/+9 |
| | |||||
* | text_render(): Make default fg color "dark" white | Patrick McDermott | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | sgr(): New function (4-bit colors only) | Patrick McDermott | 2019-07-17 | 4 | -0/+123 |
| | |||||
* | text_render(): Duplicate string | Patrick McDermott | 2019-07-17 | 1 | -7/+16 |
| | |||||
* | text_*(): Store dimensions as size_t | Patrick McDermott | 2019-07-17 | 2 | -7/+7 |
| | |||||
* | text_render(): Fill to end of each line | Patrick McDermott | 2019-07-17 | 1 | -0/+6 |
| | |||||
* | text_new(): Handle missing trailing newline | Patrick McDermott | 2019-07-17 | 1 | -0/+8 |
| | | | | Or maybe people who omit trailing newlines deserve buffer overflows. | ||||
* | font_render(): Actually address bits in font | Patrick McDermott | 2019-07-17 | 1 | -6/+15 |
| | |||||
* | font_render(): Fix pixel size | Patrick McDermott | 2019-07-17 | 1 | -6/+7 |
| | |||||
* | image_render() Call text_render() | Patrick McDermott | 2019-07-17 | 1 | -0/+2 |
| | |||||
* | text_render(): New function | Patrick McDermott | 2019-07-17 | 2 | -0/+44 |
| | |||||
* | font_render(): New function | Patrick McDermott | 2019-07-17 | 2 | -3/+35 |
| | |||||
* | src/image.c: Move macros to src/image.h | Patrick McDermott | 2019-07-17 | 2 | -6/+6 |
| | |||||
* | image_render(): Switch to 8-bit/color RGB | Patrick McDermott | 2019-07-17 | 1 | -7/+4 |
| | |||||
* | image_render(): Use font dimensions | Patrick McDermott | 2019-07-17 | 3 | -5/+8 |
| | |||||
* | font_get_width(), font_get_height(): New functions | Patrick McDermott | 2019-07-17 | 2 | -0/+18 |
| | |||||
* | font_find(): New function | Patrick McDermott | 2019-07-17 | 4 | -3/+95 |
| | |||||
* | main(): Destroy text | Patrick McDermott | 2019-07-17 | 1 | -0/+1 |
| | |||||
* | text_new(): Increment through string | Patrick McDermott | 2019-07-17 | 1 | -0/+2 |
| | |||||
* | text_new(): Reset width after newlines | Patrick McDermott | 2019-07-17 | 1 | -0/+1 |
| | |||||
* | image_render(): Get dimensions from text | Patrick McDermott | 2019-07-17 | 3 | -6/+19 |
| | |||||
* | text_*(): New functions | Patrick McDermott | 2019-07-17 | 3 | -1/+132 |
| | |||||
* | image_render(): Allocate and free row buffers | Patrick McDermott | 2019-07-17 | 1 | -18/+19 |
| | | | | | Move code from image_new() and image_destroy() and drop rows member from struct image. | ||||
* | Add copyright/license headers | Patrick McDermott | 2019-07-17 | 3 | -0/+63 |
| | | | | | | include/linux/font.h, src/image.h, and currently src/main.c probably lack sufficient creativity to be copyrightable, but I'm adding license headers just to be explicit. | ||||
* | image_*(): New functions | Patrick McDermott | 2019-07-17 | 5 | -1/+124 |
| | |||||
* | Initial commit | Patrick McDermott | 2019-07-17 | 2 | -0/+2 |