diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-26 10:50:00 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-26 10:50:00 +0000 |
commit | 743f722bcb3eb639230cd7c1006199534f4ba2b3 (patch) | |
tree | e472bb0ddc7c609e3ff482cf2f160889d6259080 /framebuffer/fb_font.h | |
parent | caf41b6b19b816a94ff52bfe0626e1e7dd906e24 (diff) | |
download | netsurf-743f722bcb3eb639230cd7c1006199534f4ba2b3.tar.gz netsurf-743f722bcb3eb639230cd7c1006199534f4ba2b3.tar.bz2 |
cache freetype glyphs, massive reduction in cpu requirement
svn path=/trunk/netsurf/; revision=6622
Diffstat (limited to 'framebuffer/fb_font.h')
-rw-r--r-- | framebuffer/fb_font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framebuffer/fb_font.h b/framebuffer/fb_font.h index cd32e5193..df29db2c1 100644 --- a/framebuffer/fb_font.h +++ b/framebuffer/fb_font.h @@ -26,8 +26,9 @@ bool fb_font_finalise(void); #include <ft2build.h> #include FT_FREETYPE_H +#include <freetype/ftglyph.h> -FT_Face fb_get_face(const struct css_style *style); +FT_Glyph fb_getglyph(const struct css_style *style, uint32_t ucs4); extern int ft_load_type; |