From a618be2a69a347128a4e29c879abf4a913421f52 Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Wed, 5 Apr 2017 21:39:01 +0200 Subject: Add kolibrios/ dir : Step 1 towards porting this to Kolibri OS --- frontends/kolibrios/fb/font_freetype.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 frontends/kolibrios/fb/font_freetype.h (limited to 'frontends/kolibrios/fb/font_freetype.h') diff --git a/frontends/kolibrios/fb/font_freetype.h b/frontends/kolibrios/fb/font_freetype.h new file mode 100644 index 000000000..cbc6d82c8 --- /dev/null +++ b/frontends/kolibrios/fb/font_freetype.h @@ -0,0 +1,30 @@ +/* + * Copyright 2008 Vincent Sanders + * + * 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 . + */ + +#ifndef NETSURF_FB_FONT_FREETYPE_H +#define NETSURF_FB_FONT_FREETYPE_H + +#include +#include FT_FREETYPE_H +#include FT_GLYPH_H + +extern int ft_load_type; + +FT_Glyph fb_getglyph(const plot_font_style_t *fstyle, uint32_t ucs4); + +#endif /* NETSURF_FB_FONT_FREETYPE_H */ -- cgit v1.2.3