1/* 2 * 3 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved 4 * 5 */ 6 7#ifndef __GNOMEGLUE_H 8#define __GNOMEGLUE_H 9 10#include <gnome.h> 11#include <ft2build.h> 12#include FT_FREETYPE_H 13 14#include "unicode/utypes.h" 15 16#include "LETypes.h" 17#include "loengine.h" 18#include "gsupport.h" 19#include "rsurface.h" 20 21typedef void fm_fontMap; 22 23U_CDECL_BEGIN 24 25gs_guiSupport *gs_gnomeGuiSupportOpen(); 26void gs_gnomeGuiSupportClose(gs_guiSupport *guiSupport); 27 28rs_surface *rs_gnomeRenderingSurfaceOpen(GtkWidget *theWidget); 29void rs_gnomeRenderingSurfaceClose(rs_surface *surface); 30 31fm_fontMap *fm_gnomeFontMapOpen(FT_Library engine, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status); 32void fm_fontMapClose(fm_fontMap *fontMap); 33 34le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap); 35void le_fontClose(le_font *font); 36 37U_CDECL_END 38 39#endif 40