2 * syriac-ot.h: Determine what OpenType features to apply to characters based
3 * on the rules for Syriac from the OpenType standard.
5 * Copyright (C) 2004 Emil Soleyman-Zomalan
6 * Author: Emil Soleyman-Zomalan <emil@soleyman.com>
8 * This file is based on the Arabic shaping code from FreeType 1 tree; original
11 * The FreeType project -- a free and portable quality TrueType renderer.
13 * Copyright 1996-2000 by
14 * D. Turner, R.Wilhelm, and W. Lemberg
16 * The code, like the FreeType code it is derived from is dual-licensed
17 * under the GNU Public License and the FreeType license. See see
18 * pango/opentype/FT-license.txt for full details of the FreeType
22 #ifndef __SYRIAC_OT_H__
23 #define __SYRIAC_OT_H__
25 #include <pango/pango-ot.h>
31 isolated = 1 << 0, /* nominal */
32 final = 1 << 1, /* right_joining */
33 initial = 1 << 2, /* left_joining */
34 medial = 1 << 3, /* double_joining */
35 medial2 = 1 << 4, /* double_joining, applies to Alaph only */
36 final2 = 1 << 5, /* right_joining, applies to Alaph only */
37 final3 = 1 << 6 /* right_joining, applies to Alaph only */
40 /* A glyph's property value as needed by e.g. TT_GSUB_Apply_String()
41 specifies which features should *not* be applied */
44 isolated_p = final | initial | medial | medial2 | final2 | final3,
45 final_p = isolated | initial | medial | medial2 | final2 | final3,
46 initial_p = isolated | final | medial | medial2 | final2 | final3,
47 medial_p = isolated | final | initial | medial2 | final2 | final3,
48 medial2_p = isolated | final | initial | medial | final2 | final3,
49 final2_p = isolated | final | initial | medial | medial2 | final3,
50 final3_p = isolated | final | initial | medial | medial2 | final2
63 FT_Error syriac_assign_properties (gunichar *string,
69 #endif /* __SYRIAC_OT_H__ */