1 /*
2  * Copyright 2008 François Revol <mmu_man@users.sourceforge.net>
3  *
4  * This file is part of NetSurf, http://www.netsurf-browser.org/
5  *
6  * NetSurf is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * NetSurf is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 /**
20  * \file
21  * Beos font layout handling interface.
22  */
23 
24 #ifndef NS_BEOS_FONT_H
25 #define NS_BEOS_FONT_H
26 
27 #include "netsurf/plot_style.h"
28 
29 bool nsfont_paint(const plot_font_style_t *fstyle,
30 		const char *string, size_t length,
31 		int x, int y);
32 
33 void nsbeos_style_to_font(BFont &font, const struct plot_font_style *fstyle);
34 
35 extern struct gui_layout_table *beos_layout_table;
36 
37 #endif
38