liberastica font and small hinting
This commit is contained in:
parent
517d99915e
commit
52ed69bb9b
|
@ -1352,6 +1352,8 @@ fnt_t fnt_load(const char *fname, int size)
|
|||
fn = NULL;
|
||||
if (!fn && i == 0) /* no regular */
|
||||
goto err;
|
||||
if (fn) /* todo? */
|
||||
TTF_SetFontHinting(fn, TTF_HINTING_LIGHT);
|
||||
h->fonts[i] = fn;
|
||||
}
|
||||
h->fn = h->fonts[FN_REG];
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -19,7 +19,7 @@ win.y = 8
|
|||
win.w = 500
|
||||
win.h = 568
|
||||
|
||||
win.fnt.name = {sans,,sans-i,sans-bi}.ttf
|
||||
win.fnt.name = {sans,sans-b,sans-i,sans-bi}.ttf
|
||||
win.fnt.size = 16
|
||||
win.fnt.height = 1.0
|
||||
win.gfx.up = aup.png
|
||||
|
|
Loading…
Reference in a new issue