diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-08-03 02:35:20 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-08-03 02:35:20 +0000 |
commit | 94f39b93e929db7881070f4b5e1f5dc3c106e3fb (patch) | |
tree | 1fa92651d4e9d2c7c41d413468f37bdb8095cd52 /modules/hangul | |
parent | e2ea77ce2f99c122a0087c28fcd9316be4d6e205 (diff) | |
download | pango-94f39b93e929db7881070f4b5e1f5dc3c106e3fb.tar.gz |
Make pangoxft depend on pangoft2.
Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make
pangoxft depend on pangoft2.
* pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI
into a real base class.
* pango/pangofc-font.[ch]: Move some of the pangoxft/
pangoft2 implementation here.
* pango/pangoft2.c pango/pangoft2-fontmap.c
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt
to the new scheme
* modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build
separate FT2 and Xft shapers, just build one Fc shaper.
* docs/pango-sections.txt docs/pango-docs.sgml
docs/tmpl/pangofc-font{,map}.sgml: Basic docs for
the new stuff.
* configure.in: Up pango_module_version to 1.4.0.
Diffstat (limited to 'modules/hangul')
-rw-r--r-- | modules/hangul/Makefile.am | 40 | ||||
-rw-r--r-- | modules/hangul/hangul-fc.c | 12 |
2 files changed, 12 insertions, 40 deletions
diff --git a/modules/hangul/Makefile.am b/modules/hangul/Makefile.am index 1faac747..e6f82b45 100644 --- a/modules/hangul/Makefile.am +++ b/modules/hangul/Makefile.am @@ -1,8 +1,6 @@ ## Process this file with automake to create Makefile.in. pangolibs = $(top_builddir)/pango/libpango-$(PANGO_API_VERSION).la $(GLIB_LIBS) -pangoxlibs = $(top_builddir)/pango/libpangox-$(PANGO_API_VERSION).la $(X_LIBS) $(pangolibs) -pangoxftlibs = $(top_builddir)/pango/libpangoxft-$(PANGO_API_VERSION).la $(XFT_LIBS) $(pangolibs) pangoft2libs = $(top_builddir)/pango/libpangoft2-$(PANGO_API_VERSION).la $(FREETYPE_LIBS) $(pangolibs) INCLUDES = \ @@ -22,42 +20,22 @@ module_LTLIBRARIES = noinst_LTLIBRARIES = -if HAVE_XFT -INCLUDES += $(XFT_CFLAGS) -if INCLUDE_HANGUL_XFT -noinst_LTLIBRARIES += libpango-hangul-xft.la -else -module_LTLIBRARIES += pango-hangul-xft.la -endif -endif - -xft_sources = hangul-fc.c hangul-defs.h - -pango_hangul_xft_la_LDFLAGS = -export-dynamic -avoid-version -module -pango_hangul_xft_la_LIBADD = $(pangoxftlibs) -pango_hangul_xft_la_SOURCES = $(xft_sources) -pango_hangul_xft_la_CFLAGS = -DBUILD_XFT -libpango_hangul_xft_la_SOURCES = $(xft_sources) -libpango_hangul_xft_la_CFLAGS = -DBUILD_XFT -DPANGO_MODULE_PREFIX=_pango_hangul_xft - - if HAVE_FREETYPE INCLUDES += $(FREETYPE_CFLAGS) -if INCLUDE_HANGUL_FT2 -noinst_LTLIBRARIES += libpango-hangul-ft2.la +if INCLUDE_HANGUL_FC +noinst_LTLIBRARIES += libpango-hangul-fc.la else -module_LTLIBRARIES += pango-hangul-ft2.la +module_LTLIBRARIES += pango-hangul-fc.la endif endif -ft2_sources = hangul-fc.c hangul-defs.h +fc_sources = hangul-fc.c hangul-defs.h -pango_hangul_ft2_la_LDFLAGS = -export-dynamic -avoid-version -module $(no_undefined) -pango_hangul_ft2_la_LIBADD = $(pangoft2libs) -pango_hangul_ft2_la_SOURCES = $(ft2_sources) -pango_hangul_ft2_la_CFLAGS = -DBUILD_FT2 -libpango_hangul_ft2_la_SOURCES = $(ft2_sources) -libpango_hangul_ft2_la_CFLAGS = -DBUILD_FT2 -DPANGO_MODULE_PREFIX=_pango_hangul_ft2 +pango_hangul_fc_la_LDFLAGS = -export-dynamic -avoid-version -module $(no_undefined) +pango_hangul_fc_la_LIBADD = $(pangoft2libs) +pango_hangul_fc_la_SOURCES = $(fc_sources) +libpango_hangul_fc_la_SOURCES = $(fc_sources) +libpango_hangul_fc_la_CFLAGS = -DPANGO_MODULE_PREFIX=_pango_hangul_fc EXTRA_DIST = \ diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c index 0008ba08..3ba6a479 100644 --- a/modules/hangul/hangul-fc.c +++ b/modules/hangul/hangul-fc.c @@ -28,15 +28,9 @@ #include "hangul-defs.h" #include "tables-jamos.i" -#ifdef BUILD_XFT -#include "pangoxft.h" -#define SCRIPT_ENGINE_NAME "HangulScriptEngineXft" -#define RENDER_TYPE PANGO_RENDER_TYPE_XFT -#else -#include "pangoft2.h" -#define SCRIPT_ENGINE_NAME "HangulScriptEngineFT2" -#define RENDER_TYPE PANGO_RENDER_TYPE_FT2 -#endif +#include "pangofc-font.h" +#define SCRIPT_ENGINE_NAME "HangulScriptEngineFc" +#define RENDER_TYPE PANGO_RENDER_TYPE_FC static PangoEngineRange hangul_ranges[] = { /* Language characters */ |