summaryrefslogtreecommitdiff
path: root/framebuffer/font_freetype.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-06-28 18:32:47 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-06-28 18:32:47 +0000
commit36b5deef09d0390e6d1a7bac9362bb8bc0008b0b (patch)
tree6651d5abb5ee71da281481acce7fcc36b3bae00c /framebuffer/font_freetype.h
parentd570a80b59361ebfb8ef9ba4e64f1f74bff18855 (diff)
downloadnetsurf-36b5deef09d0390e6d1a7bac9362bb8bc0008b0b.tar.gz
netsurf-36b5deef09d0390e6d1a7bac9362bb8bc0008b0b.tar.bz2
Make framebuffer port use libnsfb
svn path=/trunk/netsurf/; revision=8122
Diffstat (limited to 'framebuffer/font_freetype.h')
-rw-r--r--framebuffer/font_freetype.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/framebuffer/font_freetype.h b/framebuffer/font_freetype.h
new file mode 100644
index 000000000..68d986b8c
--- /dev/null
+++ b/framebuffer/font_freetype.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2008 Vincent Sanders <vince@simtec.co.uk>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NETSURF_FB_FONT_FREETYPE_H
+#define NETSURF_FB_FONT_FREETYPE_H
+
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include <freetype/ftglyph.h>
+
+extern int ft_load_type;
+
+FT_Glyph fb_getglyph(const struct css_style *style, uint32_t ucs4);
+
+#endif /* NETSURF_FB_FONT_FREETYPE_H */