summaryrefslogtreecommitdiffstats
path: root/layout/reftests/fonts/graphite/grtest-multipass.gdl
blob: 154f710c898bb509efc118aa5f1bf5e7ba833f91 (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
#include "stddef.gdh"

table(glyph)
gSpace = codepoint(" ");

gA = codepoint("A");
gB = codepoint("B");
gC = codepoint("C");
gF = codepoint("F");
gI = codepoint("I");
gL = codepoint("L");
gP = codepoint("P");
gS = codepoint("S");
ga = codepoint("a");
gs = codepoint("s");
g1 = codepoint("1");
g2 = codepoint("2");
g3 = codepoint("3");
g4 = codepoint("4");

clsFail = codepoint("FAIL");
clsPass = codepoint("PaSs");
cls1234 = codepoint("1234");
cls5678 = codepoint("5678");
endtable

table(substitution)

pass(1)
clsFail > cls1234;
endpass;

pass(2)
cls1234 > @1 @1;
endpass;

pass(3)
cls1234 cls1234 > @1 cls5678;
endpass;

pass(4)
cls1234 cls5678 > _ clsFail;
endpass;

pass(5)
gF gA gI gL > gP ga gS gs;
endpass;

endtable