summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* set_program_name(), error(): New functionsPatrick McDermott2019-07-186-14/+93
|
* font_list(): New functionPatrick McDermott2019-07-183-0/+20
|
* main(): Print usagePatrick McDermott2019-07-181-6/+24
|
* main(): Add option parsingPatrick McDermott2019-07-181-8/+61
|
* font_default(): New functionPatrick McDermott2019-07-182-2/+23
| | | | And make font_find() return NULL if a font can't be found.
* font_*(), text_*(), image_*(): Add const qualifiersPatrick McDermott2019-07-186-14/+16
|
* text_*(), font_*(), sgr(): Convert to unsigned charPatrick McDermott2019-07-185-26/+27
|
* text_new(): Read a file streamPatrick McDermott2019-07-183-21/+61
| | | | | text_render() must now consume the CSI "[" in the if condition, as text_new() does.
* src/font.c: Reduce spacing in macro definitionsPatrick McDermott2019-07-181-6/+6
|
* image_new(): Support "-" file name for stdoutPatrick McDermott2019-07-182-6/+17
|
* image_destroy(): Close file streamPatrick McDermott2019-07-181-4/+5
|
* main(): Accept image file name argumentPatrick McDermott2019-07-181-2/+2
|
* text_set_width(), text_set_height(): New functionsPatrick McDermott2019-07-173-2/+25
| | | | And fill in all the remaining rows in text_render().
* sgr(): Add reset codePatrick McDermott2019-07-171-1/+9
|
* text_render(): Make default fg color "dark" whitePatrick McDermott2019-07-171-1/+1
|
* sgr(): New function (4-bit colors only)Patrick McDermott2019-07-174-0/+123
|
* text_render(): Duplicate stringPatrick McDermott2019-07-171-7/+16
|
* text_*(): Store dimensions as size_tPatrick McDermott2019-07-172-7/+7
|
* text_render(): Fill to end of each linePatrick McDermott2019-07-171-0/+6
|
* text_new(): Handle missing trailing newlinePatrick McDermott2019-07-171-0/+8
| | | | Or maybe people who omit trailing newlines deserve buffer overflows.
* font_render(): Actually address bits in fontPatrick McDermott2019-07-171-6/+15
|
* include/linux/font.h: Fix type of (struct font_desc).dataPatrick McDermott2019-07-171-6/+6
|
* font_render(): Fix pixel sizePatrick McDermott2019-07-171-6/+7
|
* image_render() Call text_render()Patrick McDermott2019-07-171-0/+2
|
* text_render(): New functionPatrick McDermott2019-07-172-0/+44
|
* font_render(): New functionPatrick McDermott2019-07-172-3/+35
|
* src/image.c: Move macros to src/image.hPatrick McDermott2019-07-172-6/+6
|
* image_render(): Switch to 8-bit/color RGBPatrick McDermott2019-07-171-7/+4
|
* image_render(): Use font dimensionsPatrick McDermott2019-07-173-5/+8
|
* font_get_width(), font_get_height(): New functionsPatrick McDermott2019-07-172-0/+18
|
* font_find(): New functionPatrick McDermott2019-07-174-3/+95
|
* main(): Destroy textPatrick McDermott2019-07-171-0/+1
|
* text_new(): Increment through stringPatrick McDermott2019-07-171-0/+2
|
* text_new(): Reset width after newlinesPatrick McDermott2019-07-171-0/+1
|
* image_render(): Get dimensions from textPatrick McDermott2019-07-173-6/+19
|
* text_*(): New functionsPatrick McDermott2019-07-173-1/+132
|
* po/stamp-po: Exclude from GitPatrick McDermott2019-07-171-0/+1
|
* image_render(): Allocate and free row buffersPatrick McDermott2019-07-171-18/+19
| | | | | Move code from image_new() and image_destroy() and drop rows member from struct image.
* po/POTFILES.in: UpdatePatrick McDermott2019-07-171-0/+1
|
* po/Makevars: New filePatrick McDermott2019-07-171-0/+43
|
* include/linux/module.h: Fix extra ";" warningsPatrick McDermott2019-07-171-1/+2
|
* lib/fonts/*.c: Add fontsPatrick McDermott2019-07-176-0/+20590
|
* *.png: Exclude from GitPatrick McDermott2019-07-171-0/+3
|
* Add copyright/license headersPatrick McDermott2019-07-174-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 functionsPatrick McDermott2019-07-175-1/+124
|
* gettextize-izePatrick McDermott2019-07-176-3/+32
|
* include/linux/font.h, include/linux/module.h: New filesPatrick McDermott2019-07-172-0/+24
|
* Initial commitPatrick McDermott2019-07-1717-0/+1354