From d47a519cbb70fabe7a105fee31be86d181541dbb Mon Sep 17 00:00:00 2001 From: Michael Fox Date: Fri, 26 Nov 2010 22:12:46 +0000 Subject: added option to turn off Text anti-aliasing in the UI (userpref->system), with a great help from brecht (its been way too long for me). However as brecht pointed out that the non-AA text is slightly lareger then AA'ed Text :S, i did not do anything about this as this commit was just the option not the text drawing. this commit also makes it possible to do all kinds of UI textrender options --- source/blender/blenfont/intern/blf_internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenfont/intern/blf_internal.h') diff --git a/source/blender/blenfont/intern/blf_internal.h b/source/blender/blenfont/intern/blf_internal.h index bded1feb9bb..afe40973269 100644 --- a/source/blender/blenfont/intern/blf_internal.h +++ b/source/blender/blenfont/intern/blf_internal.h @@ -56,6 +56,7 @@ void blf_font_free(FontBLF *font); GlyphCacheBLF *blf_glyph_cache_find(FontBLF *font, int size, int dpi); GlyphCacheBLF *blf_glyph_cache_new(FontBLF *font); +void blf_glyph_cache_clear(FontBLF *font); void blf_glyph_cache_free(GlyphCacheBLF *gc); GlyphBLF *blf_glyph_search(GlyphCacheBLF *gc, unsigned int c); -- cgit v1.2.3