layout/reftests/fonts/graphite/grtest-langfeat.gdl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 #include "stddef.gdh"
michael@0 2 #define LG_USENG 1033
michael@0 3
michael@0 4 table(glyph)
michael@0 5 clsFail = codepoint("FAIL");
michael@0 6 clsPass = codepoint("PaSs");
michael@0 7 endtable
michael@0 8
michael@0 9 table (feature)
michael@0 10
michael@0 11 failtopass
michael@0 12 {
michael@0 13 id = "FTPS";
michael@0 14 name.LG_USENG = string("Pass substitution");
michael@0 15 default = 0;
michael@0 16 }
michael@0 17
michael@0 18 failtopass2
michael@0 19 {
michael@0 20 id = "FTP2";
michael@0 21 name.LG_USENG = string("Pass substitution 2");
michael@0 22 default = 0;
michael@0 23 }
michael@0 24
michael@0 25 passtofail
michael@0 26 {
michael@0 27 id = "PTFL";
michael@0 28 name.LG_USENG = string("Pass to fail substitution");
michael@0 29 default = 0;
michael@0 30 }
michael@0 31
michael@0 32 endtable
michael@0 33
michael@0 34 table (language)
michael@0 35
michael@0 36 french {
michael@0 37 languages = ( "fr" );
michael@0 38 failtopass = 1;
michael@0 39 }
michael@0 40
michael@0 41 french2 {
michael@0 42 languages = ( "fra" );
michael@0 43 passtofail = 1;
michael@0 44 }
michael@0 45
michael@0 46 endtable;
michael@0 47
michael@0 48 table(substitution)
michael@0 49
michael@0 50 pass(1)
michael@0 51
michael@0 52 if (failtopass || failtopass2)
michael@0 53 clsFail > clsPass;
michael@0 54 endif;
michael@0 55
michael@0 56 if (passtofail)
michael@0 57 clsPass > clsFail;
michael@0 58 endif;
michael@0 59
michael@0 60 endpass;
michael@0 61
michael@0 62 endtable

mercurial