summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-11-12 21:16:39 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-11-12 21:16:39 +0000
commitf726b8d49d00e325314ee6f17cf1f7eaed1fd019 (patch)
tree6041b8551149c167352c65fda63c3e7aaeb88d9b /pango/pangoft2.c
parent1ff8a34d8c98aa47438515abd16f531e838d7404 (diff)
downloadpango-f726b8d49d00e325314ee6f17cf1f7eaed1fd019.tar.gz
Include a stripped-down version of fribidi to avoid the extra dependency.
Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango/pango-utils.[ch] pango/Makefile.am pango/mini-fribidi/*: Include a stripped-down version of fribidi to avoid the extra dependency. No fribidi symbols are exported so conflicts with the real fribidi should not happen. Library can optionally be compiled with the real libfribidi. * pango/pango-utils.[ch]: Wrappers for fribidi_ functions when compiling with fribiid. * modules/basic/basic-ft2.c modules/basic/basic-win32.c modules/basic/basic.c modules/thai/thai.c pango/Makefile.am pango/itemize.c pango/pango-context.c pango/pangoft2.c pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi functions.
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index 589e8826..8f9e4133 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -28,8 +28,8 @@
#include <glib.h>
#include <freetype/freetype.h>
-#include <fribidi/fribidi.h>
+#include "pango-utils.h"
#include "pangoft2.h"
#include "pangoft2-private.h"
@@ -543,7 +543,7 @@ get_font_metrics_from_string (PangoFont *font,
gunichar *text_ucs4;
int n_chars, i;
guint8 *embedding_levels;
- FriBidiCharType base_dir = PANGO_DIRECTION_LTR;
+ PangoDirection base_dir = PANGO_DIRECTION_LTR;
GSList *subfonts = NULL;
n_chars = g_utf8_strlen (str, -1);
@@ -553,8 +553,8 @@ get_font_metrics_from_string (PangoFont *font,
return;
embedding_levels = g_new (guint8, n_chars);
- fribidi_log2vis_get_embedding_levels (text_ucs4, n_chars, &base_dir,
- embedding_levels);
+ pango_log2vis_get_embedding_levels (text_ucs4, n_chars, &base_dir,
+ embedding_levels);
g_free (text_ucs4);
last_shaper = NULL;