blob: 7a13f60a9b63e54505bba8564cafad93b332d03c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#ifndef QURAN
lookup loclPunct {
sub period by period.ara;
} loclPunct;
#endif
lookup loclUrdu {
sub [uni06F4 uni06F6 uni06F7] by [uni06F4.urd uni06F6.urd uni06F7.urd];
sub uni0657 by uni0657.urd;
} loclUrdu;
lookup loclSindhi {
sub [uni06F6 uni06F7] by [uni06F6.urd uni06F7.urd];
sub uni0657 by uni0657.urd;
} loclSindhi;
feature locl {
#ifndef QURAN
script arab;
language ARA;
lookup loclPunct;
#endif
language URD exclude_dflt;
lookup loclUrdu;
#ifndef QURAN
lookup loclPunct;
#endif
language SND exclude_dflt;
lookup loclSindhi;
#ifndef QURAN
lookup loclPunct;
#endif
} locl;
// some implementations (e.g ICU) does not support ‘locl’ feature for Arabic
// script, so we work around this by using ‘ccmp’ registered for the needed
// languages, which should essentially give the same result.
//
// XXX: always sync with ‘locl’ feature above
feature ccmp {
#ifndef QURAN
script arab;
language ARA;
lookup loclPunct;
#endif
language URD exclude_dflt;
lookup loclUrdu;
#ifndef QURAN
lookup loclPunct;
#endif
language SND exclude_dflt;
lookup loclSindhi;
#ifndef QURAN
lookup loclPunct;
#endif
} ccmp;
|