summaryrefslogtreecommitdiffstats
path: root/src/font.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/fonts/*.c: Add fonts from upstream LinuxPatrick McDermott2019-07-181-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 typedefsPatrick McDermott2019-07-181-1/+1
| | | | Pointers should be as obvious as possible.
* assert() function argumentsPatrick McDermott2019-07-181-0/+14
|
* font_list(): New functionPatrick McDermott2019-07-181-0/+11
|
* font_default(): New functionPatrick McDermott2019-07-181-2/+20
| | | | And make font_find() return NULL if a font can't be found.
* font_*(), text_*(), image_*(): Add const qualifiersPatrick McDermott2019-07-181-3/+3
|
* text_*(), font_*(), sgr(): Convert to unsigned charPatrick McDermott2019-07-181-1/+1
|
* src/font.c: Reduce spacing in macro definitionsPatrick McDermott2019-07-181-6/+6
|
* font_render(): Actually address bits in fontPatrick McDermott2019-07-171-6/+15
|
* font_render(): Fix pixel sizePatrick McDermott2019-07-171-6/+7
|
* font_render(): New functionPatrick McDermott2019-07-171-0/+28
|
* font_get_width(), font_get_height(): New functionsPatrick McDermott2019-07-171-0/+12
|
* font_find(): New functionPatrick McDermott2019-07-171-0/+56