~ubuntu-branches/ubuntu/karmic/pango1.0/karmic-security

« back to all changes in this revision

Viewing changes to pango/mini-fribidi/fribidi_char_type.c

Tags: upstream-1.15.4
ImportĀ upstreamĀ versionĀ 1.15.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* FriBidi - Library of BiDi algorithm
 
2
 * Copyright (C) 2001,2002 Behdad Esfahbod. 
 
3
 * 
 
4
 * This library is free software; you can redistribute it and/or 
 
5
 * modify it under the terms of the GNU Lesser General Public 
 
6
 * License as published by the Free Software Foundation; either 
 
7
 * version 2.1 of the License, or (at your option) any later version. 
 
8
 * 
 
9
 * This library is distributed in the hope that it will be useful, 
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
 
12
 * Lesser General Public License for more details. 
 
13
 * 
 
14
 * You should have received a copy of the GNU Lesser General Public License 
 
15
 * along with this library, in a file named COPYING; if not, write to the 
 
16
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
 
17
 * Boston, MA 02111-1307, USA  
 
18
 * 
 
19
 * For licensing issues, contact <fwpg@sharif.edu>. 
 
20
 */
 
21
 
 
22
#include <config.h>
 
23
#include "fribidi.h"
 
24
 
 
25
#ifdef MEM_OPTIMIZED
 
26
 
 
27
#if   HAS_FRIBIDI_TAB_CHAR_TYPE_9_I
 
28
#include "fribidi_tab_char_type_9.i"
 
29
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_8_I
 
30
#include "fribidi_tab_char_type_8.i"
 
31
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_7_I
 
32
#include "fribidi_tab_char_type_7.i"
 
33
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_6_I
 
34
#include "fribidi_tab_char_type_6.i"
 
35
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_5_I
 
36
#include "fribidi_tab_char_type_5.i"
 
37
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_4_I
 
38
#include "fribidi_tab_char_type_4.i"
 
39
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_3_I
 
40
#include "fribidi_tab_char_type_3.i"
 
41
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_2_I
 
42
#include "fribidi_tab_char_type_2.i"
 
43
#else
 
44
#error You have no fribidi_tab_char_type_*.i file, please first make one by \
 
45
       make fribidi_tab_char_type_n.i which n is the compress level, a digit \
 
46
       between 2 and 9, or simply run make fribidi_tab_char_type_small, \
 
47
       retry to make.
 
48
#endif
 
49
 
 
50
#else
 
51
 
 
52
#if   HAS_FRIBIDI_TAB_CHAR_TYPE_2_I
 
53
#include "fribidi_tab_char_type_2.i"
 
54
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_3_I
 
55
#include "fribidi_tab_char_type_3.i"
 
56
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_4_I
 
57
#include "fribidi_tab_char_type_4.i"
 
58
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_5_I
 
59
#include "fribidi_tab_char_type_5.i"
 
60
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_6_I
 
61
#include "fribidi_tab_char_type_6.i"
 
62
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_7_I
 
63
#include "fribidi_tab_char_type_7.i"
 
64
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_8_I
 
65
#include "fribidi_tab_char_type_8.i"
 
66
#elif HAS_FRIBIDI_TAB_CHAR_TYPE_9_I
 
67
#include "fribidi_tab_char_type_9.i"
 
68
#else
 
69
#error You have no fribidi_tab_char_type_*.i file, please first make one by \
 
70
       make fribidi_tab_char_type_n.i which n is the compress level, a digit \
 
71
       between 2 and 9, or simply run make fribidi_tab_char_type_large, \
 
72
       retry to make.
 
73
#endif
 
74
 
 
75
#endif