2 * fribidi.c - Unicode bidirectional and Arabic joining/shaping algorithms
4 * $Id: fribidi.c,v 1.18 2006-01-31 03:23:13 behdad Exp $
6 * $Date: 2006-01-31 03:23:13 $
8 * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/fribidi.c,v $
11 * Behdad Esfahbod, 2001, 2002, 2004
12 * Dov Grobgeld, 1999, 2000
14 * Copyright (C) 2004 Sharif FarsiWeb, Inc
15 * Copyright (C) 2001,2002 Behdad Esfahbod
16 * Copyright (C) 1999,2000 Dov Grobgeld
18 * This library is free software; you can redistribute it and/or
19 * modify it under the terms of the GNU Lesser General Public
20 * License as published by the Free Software Foundation; either
21 * version 2.1 of the License, or (at your option) any later version.
23 * This library is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 * Lesser General Public License for more details.
28 * You should have received a copy of the GNU Lesser General Public License
29 * along with this library, in a file named COPYING; if not, write to the
30 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
31 * Boston, MA 02110-1301, USA
33 * For licensing issues, contact <license@farsiweb.info>.
41 static int flag_debug = false;
44 FRIBIDI_ENTRY fribidi_boolean
45 fribidi_debug_status (
56 FRIBIDI_ENTRY fribidi_boolean
63 return flag_debug = state;
71 const char *fribidi_unicode_version = FRIBIDI_UNICODE_VERSION;
73 const char *fribidi_version_info =
74 "(" FRIBIDI_NAME ") " FRIBIDI_VERSION "\n"
75 "interface version " FRIBIDI_INTERFACE_VERSION_STRING ",\n"
76 "Unicode Character Database version " FRIBIDI_UNICODE_VERSION ",\n"
81 #if USE_SIMPLE_MALLOC+0
83 #endif /* USE_SIMPLE_MALLOC */
84 #if FRIBIDI_CHARSETS+0
87 #endif /* !FRIBIDI_CHARSETS */
88 #if FRIBIDI_USE_GLIB+0
90 #else /* !FRIBIDI_USE_GLIB */
92 #endif /* !FRIBIDI_USE_GLIB */
94 "Copyright (C) 2004 Sharif FarsiWeb, Inc.\n"
95 "Copyright (C) 2001, 2002, 2004, 2005 Behdad Esfahbod\n"
96 "Copyright (C) 1999, 2000 Dov Grobgeld\n"
97 FRIBIDI_NAME " comes with NO WARRANTY, to the extent permitted by law.\n"
98 "You may redistribute copies of " FRIBIDI_NAME " under\n"
99 "the terms of the GNU Lesser General Public License.\n"
100 "For more information about these matters, see the file named COPYING.\n\n"
101 "Written by Behdad Esfahbod and Dov Grobgeld.\n";
103 /* Editor directions:
104 * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent