summaryrefslogtreecommitdiff
path: root/pango/pango-utils.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-27 14:48:54 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-27 14:48:54 +0000
commit58a45b6a10cf9ca55b3216e233f6b516c75755de (patch)
treee6820c29dec5b9b8051a378a47bf4629bbfcdd47 /pango/pango-utils.h
parentf27610770305444fcab90ce651f48265e41dfee2 (diff)
downloadpango-58a45b6a10cf9ca55b3216e233f6b516c75755de.tar.gz
Add some new enum and values and utilities for supporting automatically
Fri Feb 27 09:30:10 2004 Owen Taylor <otaylor@redhat.com> Add some new enum and values and utilities for supporting automatically determined base direction. (#70451, based on changes by Dov Grobgeld) * pango/pango-types.h docs/tmpl/main.sgml: Add PANGO_DIRECTION_WEAK_RTL/LTR, extend the docs for PangoDirection. * pango/pango-types.h pango/pango-utils.h: Move pango_get_mirror_char() to pango-types.h. * pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels): Handle new values of PangoDirection, handle PANGO_DIRECTION_TTB_LTR/RTL as aliases for PANGO_DIRECTION_RTL/LTR. * pango/mini-fribidi/fribidi.c pango/pango-types.h: Add pango_unichar_direction(). * pango/pango-utils.c pango/pango-types.h: Add pango_find_base_dir()
Diffstat (limited to 'pango/pango-utils.h')
-rw-r--r--pango/pango-utils.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index 64b96eea..20b828e4 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -19,10 +19,15 @@
* Boston, MA 02111-1307, USA.
*/
+#ifndef __PANGO_UTILS_H__
+#define __PANGO_UTILS_H__
+
#include <stdio.h>
#include <glib.h>
#include <pango/pango-font.h>
+G_BEGIN_DECLS
+
char ** pango_split_file_list (const char *str);
char *pango_trim_string (const char *str);
@@ -88,8 +93,9 @@ gboolean pango_log2vis_get_embedding_levels (gunichar *str,
int len,
PangoDirection *pbase_dir,
guint8 *embedding_level_list);
-gboolean pango_get_mirror_char (gunichar ch,
- gunichar *mirrored_ch);
G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language);
+G_END_DECLS
+
+#endif /* __PANGO_UTILS_H__ */