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