hinting in ifdef

This commit is contained in:
p.kosyh@gmail.com 2011-03-10 05:28:48 +00:00
parent 0e45797b38
commit 70d8d18305

View file

@ -1352,8 +1352,10 @@ fnt_t fnt_load(const char *fname, int size)
fn = NULL;
if (!fn && i == 0) /* no regular */
goto err;
#ifdef TTF_HINTING_LIGHT
if (fn) /* todo? */
TTF_SetFontHinting(fn, TTF_HINTING_LIGHT);
#endif
h->fonts[i] = fn;
}
h->fn = h->fonts[FN_REG];