liberastica font and small hinting

This commit is contained in:
p.kosyh@gmail.com 2011-03-09 18:35:27 +00:00
parent 517d99915e
commit 52ed69bb9b
6 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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