Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/fonts/*.c: Add fonts from upstream Linux | Patrick McDermott | 2019-07-18 | 1 | -0/+11 |
| | | | | | | | The macros, declarations, and array are all sorted according to the array in Linux's lib/fonts/fonts.c, since that affects picking a default font and finding a font by name (if there were conflicts, which there aren't). | ||||
* | Don't use libpng's pointer typedefs | Patrick McDermott | 2019-07-18 | 1 | -1/+1 |
| | | | | Pointers should be as obvious as possible. | ||||
* | assert() function arguments | Patrick McDermott | 2019-07-18 | 1 | -0/+14 |
| | |||||
* | font_list(): New function | Patrick McDermott | 2019-07-18 | 1 | -0/+11 |
| | |||||
* | font_default(): New function | Patrick McDermott | 2019-07-18 | 1 | -2/+20 |
| | | | | And make font_find() return NULL if a font can't be found. | ||||
* | font_*(), text_*(), image_*(): Add const qualifiers | Patrick McDermott | 2019-07-18 | 1 | -3/+3 |
| | |||||
* | text_*(), font_*(), sgr(): Convert to unsigned char | Patrick McDermott | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | src/font.c: Reduce spacing in macro definitions | Patrick McDermott | 2019-07-18 | 1 | -6/+6 |
| | |||||
* | 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 |
| | |||||
* | font_render(): New function | Patrick McDermott | 2019-07-17 | 1 | -0/+28 |
| | |||||
* | font_get_width(), font_get_height(): New functions | Patrick McDermott | 2019-07-17 | 1 | -0/+12 |
| | |||||
* | font_find(): New function | Patrick McDermott | 2019-07-17 | 1 | -0/+56 |