summaryrefslogtreecommitdiffstats
path: root/layout/reftests/fonts/graphite/grtest-langfeat.gdl
blob: fd76c126c49f3f1ed0d709eba780c4b360649e14 (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
#include "stddef.gdh"
#define LG_USENG 1033

table(glyph)
clsFail = codepoint("FAIL");
clsPass = codepoint("PaSs");
endtable

table (feature)

failtopass 
{
  id = "FTPS";
  name.LG_USENG = string("Pass substitution");
  default = 0;
}

failtopass2 
{
  id = "FTP2";
  name.LG_USENG = string("Pass substitution 2");
  default = 0;
}

passtofail 
{
  id = "PTFL";
  name.LG_USENG = string("Pass to fail substitution");
  default = 0;
}

endtable

table (language)

french {
  languages = ( "fr" );
  failtopass = 1;
}

french2 {
  languages = ( "fra" );
  passtofail = 1;
}

endtable;

table(substitution)

pass(1)

if (failtopass || failtopass2)
clsFail > clsPass;
endif;

if (passtofail)
clsPass > clsFail;
endif;

endpass;

endtable