1 // 2 // The Fontaine Font Analysis Project 3 // 4 // Copyright (c) 2009, 2015 by Edward H. Trager 5 // All Rights Reserved 6 // 7 // Released under the GNU GPL version 2.0 or later. 8 // 9 10 11 // 12 // Math.h 13 // 14 // Everything listed as "Symbol, Math" in Unicode is here 15 // 16 // Contributions added by christtrekker 17 // 2015.02.02.ET verified by ET 18 // 19 20 #ifndef ORTHOGRAPHY_DATA 21 #include "../OrthographyData.h" 22 #endif 23 24 #ifndef MATH_OPERATORS 25 #define MATH_OPERATORS 26 27 namespace MathematicalOperators{ 28 29 // 30 // Unicode values 31 // 32 UINT32 values[]={ 33 0x002B, 34 0x003C, 35 0x003D, 36 0x003E, 37 0x007C, 38 0x007E, 39 0x00AC, 40 0x00B1, 41 0x00D7, 42 0x00F7, 43 0x03F6, 44 START_RANGE_PAIR, 45 0x0606,0x0608, 46 0x2044, 47 0x2052, 48 START_RANGE_PAIR, 49 0x207A,0x207C, 50 START_RANGE_PAIR, 51 0x208A,0x208C, 52 0x2118, 53 START_RANGE_PAIR, 54 0x2140,0x2144, 55 0x214B, 56 START_RANGE_PAIR, 57 0x2190,0x2194, 58 0x219A, 59 0x219B, 60 0x21A0, 61 0x21A3, 62 0x21A6, 63 0x21AE, 64 0x21CE, 65 0x21CF, 66 0x21D2, 67 0x21D4, 68 START_RANGE_PAIR, 69 0x21F4,0x22FF, 70 0x2320, 71 0x2321, 72 0x237C, 73 START_RANGE_PAIR, 74 0x239B,0x23B3, 75 START_RANGE_PAIR, 76 0x23DC,0x23E1, 77 0x25B7, 78 0x25C1, 79 START_RANGE_PAIR, 80 0x25F8,0x25FF, 81 0x266F, 82 START_RANGE_PAIR, 83 0x27C0,0x27FF, 84 START_RANGE_PAIR, 85 0x2900,0x29FF, 86 START_RANGE_PAIR, 87 0x2A00,0x2AFF, 88 START_RANGE_PAIR, 89 0x2B30,0x2B44, 90 START_RANGE_PAIR, 91 0x2B47,0x2B4C, 92 0xFB29, 93 0xFE62, 94 START_RANGE_PAIR, 95 0xFE64,0xFE66, 96 0xFF0B, 97 START_RANGE_PAIR, 98 0xFF1C,0xFF1E, 99 0xFF5C, 100 0xFF5E, 101 0xFFE2, 102 START_RANGE_PAIR, 103 0xFFE9,0xFFEC, 104 0x1D6C1, 105 0x1D6DB, 106 0x1d6FB, 107 0x1D715, 108 0x1D735, 109 0x1D74F, 110 0x1D76F, 111 0x1D789, 112 0x1D7A9, 113 0x1D7C3, 114 0x1EEF0, 115 0x1EEF1, 116 END_OF_DATA 117 }; 118 119 // 120 // Sample sentences 121 // 122 const char *sentences[]={ 123 "∂∈∉∫∬≠⊂⊗⋈⋂", 124 END_OF_DATA 125 }; 126 127 128 // 129 // 130 // 131 OrthographyData data={ 132 "Mathematical Operators", // Common name 133 "Mathematical Operators", // Native name 134 0x2208, // key 135 values, 136 "∂∈∉∫∬≠⊂⊗⋈⋂", // Sample characters 137 sentences 138 }; 139 140 const OrthographyData *pData = &data; 141 142 }; // end of namespace 143 144 #endif 145