summaryrefslogtreecommitdiff
path: root/pango/module-defs-fc.c.win32
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2003-12-13 14:31:50 +0000
committerHans Breuer <hans@src.gnome.org>2003-12-13 14:31:50 +0000
commit57d17e74dc8861396b465d602a8f2eda513d0d61 (patch)
tree60b409039d867261f3b025857d3bcebd15174c61 /pango/module-defs-fc.c.win32
parentbcbb2cad9eee80f00ea25fd879347544f62a5a03 (diff)
downloadpango-57d17e74dc8861396b465d602a8f2eda513d0d61.tar.gz
moved pango_fc_* to the latter where they live on *nix too.
2003-12-13 Hans Breuer <hans@breuer.org> * pango/pango.def pangoft2.def : moved pango_fc_* to the latter where they live on *nix too. * pango/makefile.msc : make it build again (including the Ft2 backend) * pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined include the basic backend shaper * pango/pangowin32.c (pango_win32_render_layout) : initialize iter before first usage to avoid immediate crashing * pango/opentype/makefile.msc pango/modules/makefile.msc : finally build with mscv, too. [completely untested cause I'm not able to type, write or read any of these languages] * modules/modules.def : follow module function renaming/changes * modules/basic/basic-win32.c : register the right engine, i.e. make it compile
Diffstat (limited to 'pango/module-defs-fc.c.win32')
-rw-r--r--pango/module-defs-fc.c.win3222
1 files changed, 22 insertions, 0 deletions
diff --git a/pango/module-defs-fc.c.win32 b/pango/module-defs-fc.c.win32
index 429ba869..a6ae1cff 100644
--- a/pango/module-defs-fc.c.win32
+++ b/pango/module-defs-fc.c.win32
@@ -4,6 +4,28 @@
#include "modules.h"
+#ifdef PANGO_MODULE_PREFIX
+/* by defining PANGO_MODULE_PREFIX the basic module gets include in the
+ * backend library, here ../modules/basic/basic-fc.c
+ * It helps the backend to not fall on its nose even with a screwed module
+ * configuration. There should be at least enough fonts available to show
+ * an error message ...
+ */
+void _pango_basic_ft2_script_engine_list (PangoEngineInfo **engines,
+ gint *n_engines);
+void _pango_basic_ft2_script_engine_init (GTypeModule *module);
+void _pango_basic_ft2_script_engine_exit (void);
+PangoEngine *_pango_basic_ft2_script_engine_create (const char *id);
+#endif
+
PangoIncludedModule _pango_included_fc_modules[] = {
+#ifdef PANGO_MODULE_PREFIX
+ {
+ _pango_basic_ft2_script_engine_list,
+ _pango_basic_ft2_script_engine_init,
+ _pango_basic_ft2_script_engine_exit,
+ _pango_basic_ft2_script_engine_create
+ },
+#endif
{ NULL, NULL, NULL },
};