Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main(): Add option parsing | Patrick McDermott | 2019-07-18 | 1 | -8/+61 |
| | |||||
* | font_default(): New function | Patrick McDermott | 2019-07-18 | 2 | -2/+23 |
| | | | | And make font_find() return NULL if a font can't be found. | ||||
* | font_*(), text_*(), image_*(): Add const qualifiers | Patrick McDermott | 2019-07-18 | 6 | -14/+16 |
| | |||||
* | text_*(), font_*(), sgr(): Convert to unsigned char | Patrick McDermott | 2019-07-18 | 5 | -26/+27 |
| | |||||
* | text_new(): Read a file stream | Patrick McDermott | 2019-07-18 | 3 | -21/+61 |
| | | | | | text_render() must now consume the CSI "[" in the if condition, as text_new() does. | ||||
* | src/font.c: Reduce spacing in macro definitions | Patrick McDermott | 2019-07-18 | 1 | -6/+6 |
| | |||||
* | image_new(): Support "-" file name for stdout | Patrick McDermott | 2019-07-18 | 2 | -6/+17 |
| | |||||
* | image_destroy(): Close file stream | Patrick McDermott | 2019-07-18 | 1 | -4/+5 |
| | |||||
* | main(): Accept image file name argument | Patrick McDermott | 2019-07-18 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | include/linux/font.h: Fix type of (struct font_desc).data | Patrick McDermott | 2019-07-17 | 1 | -6/+6 |
| | |||||
* | 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 |
| | |||||
* | po/stamp-po: Exclude from Git | Patrick McDermott | 2019-07-17 | 1 | -0/+1 |
| | |||||
* | 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. | ||||
* | po/POTFILES.in: Update | Patrick McDermott | 2019-07-17 | 1 | -0/+1 |
| | |||||
* | po/Makevars: New file | Patrick McDermott | 2019-07-17 | 1 | -0/+43 |
| | |||||
* | include/linux/module.h: Fix extra ";" warnings | Patrick McDermott | 2019-07-17 | 1 | -1/+2 |
| | |||||
* | lib/fonts/*.c: Add fonts | Patrick McDermott | 2019-07-17 | 6 | -0/+20590 |
| | |||||
* | *.png: Exclude from Git | Patrick McDermott | 2019-07-17 | 1 | -0/+3 |
| | |||||
* | Add copyright/license headers | Patrick McDermott | 2019-07-17 | 4 | -0/+84 |
| | | | | | | 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 |
| | |||||
* | gettextize-ize | Patrick McDermott | 2019-07-17 | 6 | -3/+32 |
| | |||||
* | include/linux/font.h, include/linux/module.h: New files | Patrick McDermott | 2019-07-17 | 2 | -0/+24 |
| | |||||
* | Initial commit | Patrick McDermott | 2019-07-17 | 17 | -0/+1354 |