summaryrefslogtreecommitdiffstats
path: root/lib/kformula/symbolfontmapping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/symbolfontmapping.cpp')
-rw-r--r--lib/kformula/symbolfontmapping.cpp171
1 files changed, 171 insertions, 0 deletions
diff --git a/lib/kformula/symbolfontmapping.cpp b/lib/kformula/symbolfontmapping.cpp
new file mode 100644
index 000000000..71fbfcb09
--- /dev/null
+++ b/lib/kformula/symbolfontmapping.cpp
@@ -0,0 +1,171 @@
+//
+// Created: Thu May 29 14:40:54 2003
+// by: gensymbolfontmap.py
+// from: symbol.xml
+//
+// WARNING! All changes made in this file will be lost!
+
+
+
+static InternFontTable symbolMap[] = {
+ { 0x2208, 0xce, RELATION, normalChar },
+ { 0x2209, 0xcf, RELATION, normalChar },
+ { 0x2202, 0xb6, ORDINARY, normalChar },
+ { 0x2203, 0x24, ORDINARY, normalChar },
+ { 0x2200, 0x22, ORDINARY, normalChar },
+ { 0x2207, 0xd1, ORDINARY, normalChar },
+ { 0x2205, 0xc6, BINOP, normalChar },
+ { 0x220D, 0x27, RELATION, normalChar },
+ { 0x007C, 0x7c, ORDINARY, normalChar },
+ { 0x007B, 0x7b, ORDINARY, normalChar },
+ { 0x007D, 0x7d, ORDINARY, normalChar },
+ { 0x00B0, 0xb0, ORDINARY, normalChar },
+ { 0x00B1, 0xb1, BINOP, normalChar },
+ { 0x2033, 0xb2, ORDINARY, normalChar },
+ { 0x2032, 0xa2, ORDINARY, normalChar },
+ { 0x03BE, 0x78, ORDINARY, normalChar },
+ { 0x03BD, 0x6e, ORDINARY, normalChar },
+ { 0x03BC, 0x6d, ORDINARY, normalChar },
+ { 0x03BB, 0x6c, ORDINARY, normalChar },
+ { 0x03BA, 0x6b, ORDINARY, normalChar },
+ { 0x2329, 0xe1, ORDINARY, normalChar },
+ { 0x2321, 0xf5, ORDINARY, normalChar },
+ { 0x2320, 0xf3, ORDINARY, normalChar },
+ { 0x232A, 0xf1, ORDINARY, normalChar },
+ { 0x03B9, 0x69, ORDINARY, normalChar },
+ { 0x03B8, 0x71, ORDINARY, normalChar },
+ { 0x03B7, 0x68, ORDINARY, normalChar },
+ { 0x03B6, 0x7a, ORDINARY, normalChar },
+ { 0x03B5, 0x65, ORDINARY, normalChar },
+ { 0x03B4, 0x64, ORDINARY, normalChar },
+ { 0x03B3, 0x67, ORDINARY, normalChar },
+ { 0x03B2, 0x62, ORDINARY, normalChar },
+ { 0x03B1, 0x61, ORDINARY, normalChar },
+ { 0x00F7, 0xb8, BINOP, normalChar },
+ { 0x039F, 0x4f, ORDINARY, normalChar },
+ { 0x039D, 0x4e, ORDINARY, normalChar },
+ { 0x039E, 0x58, ORDINARY, normalChar },
+ { 0x039B, 0x4c, ORDINARY, normalChar },
+ { 0x039C, 0x4d, ORDINARY, normalChar },
+ { 0x039A, 0x4b, ORDINARY, normalChar },
+ { 0x0192, 0xa6, ORDINARY, normalChar },
+ { 0x0398, 0x51, ORDINARY, normalChar },
+ { 0x0399, 0x49, ORDINARY, normalChar },
+ { 0x0396, 0x5a, ORDINARY, normalChar },
+ { 0x0397, 0x48, ORDINARY, normalChar },
+ { 0x0394, 0x44, ORDINARY, normalChar },
+ { 0x0395, 0x45, ORDINARY, normalChar },
+ { 0x0392, 0x42, ORDINARY, normalChar },
+ { 0x0393, 0x47, ORDINARY, normalChar },
+ { 0x0391, 0x41, ORDINARY, normalChar },
+ { 0x2283, 0xc9, RELATION, normalChar },
+ { 0x2287, 0xca, RELATION, normalChar },
+ { 0x2284, 0xcb, RELATION, normalChar },
+ { 0x221A, 0xd6, ORDINARY, normalChar },
+ { 0x221E, 0xa5, ORDINARY, normalChar },
+ { 0x221D, 0xb5, RELATION, normalChar },
+ { 0x220F, 0xd5, ORDINARY, normalChar },
+ { 0x2211, 0xe5, ORDINARY, normalChar },
+ { 0x21D1, 0xdd, RELATION, normalChar },
+ { 0x21D0, 0xdc, RELATION, normalChar },
+ { 0x21D3, 0xdf, RELATION, normalChar },
+ { 0x03A6, 0x46, ORDINARY, normalChar },
+ { 0x03A7, 0x43, ORDINARY, normalChar },
+ { 0x03A4, 0x54, ORDINARY, normalChar },
+ { 0x03A5, 0x55, ORDINARY, normalChar },
+ { 0x03A3, 0x53, ORDINARY, normalChar },
+ { 0x03A0, 0x50, ORDINARY, normalChar },
+ { 0x03A1, 0x52, ORDINARY, normalChar },
+ { 0x03A8, 0x59, ORDINARY, normalChar },
+ { 0x03A9, 0x57, ORDINARY, normalChar },
+ { 0x2135, 0xc0, ORDINARY, normalChar },
+ { 0x22C5, 0xd7, BINOP, normalChar },
+ { 0x03C3, 0x73, ORDINARY, normalChar },
+ { 0x26C4, 0xe0, ORDINARY, normalChar },
+ { 0xF8EF, 0xea, ORDINARY, normalChar },
+ { 0xF8EE, 0xe9, ORDINARY, normalChar },
+ { 0xF8ED, 0xe8, ORDINARY, normalChar },
+ { 0xF8EC, 0xe7, ORDINARY, normalChar },
+ { 0xF8EB, 0xe6, ORDINARY, normalChar },
+ { 0xF8EA, 0xe4, ORDINARY, normalChar },
+ { 0x2260, 0xb9, RELATION, normalChar },
+ { 0x2261, 0xba, RELATION, normalChar },
+ { 0x2264, 0xa3, RELATION, normalChar },
+ { 0x2265, 0xb3, RELATION, normalChar },
+ { 0x005B, 0x5b, ORDINARY, normalChar },
+ { 0x005D, 0x5d, ORDINARY, normalChar },
+ { 0xF8E9, 0xe3, ORDINARY, normalChar },
+ { 0xF8E8, 0xe2, ORDINARY, normalChar },
+ { 0xF8E7, 0xbe, ORDINARY, normalChar },
+ { 0xF8E6, 0xbd, RELATION, normalChar },
+ { 0xF8E5, 0x60, ORDINARY, normalChar },
+ { 0x2282, 0xcc, RELATION, normalChar },
+ { 0x2286, 0xcd, RELATION, normalChar },
+ { 0x2295, 0xc5, BINOP, normalChar },
+ { 0x2297, 0xc4, BINOP, normalChar },
+ { 0x2192, 0xae, RELATION, normalChar },
+ { 0x2193, 0xaf, RELATION, normalChar },
+ { 0x2190, 0xac, RELATION, normalChar },
+ { 0x2191, 0xad, RELATION, normalChar },
+ { 0x2194, 0xab, RELATION, normalChar },
+ { 0x2227, 0xd9, BINOP, normalChar },
+ { 0x2220, 0xd0, ORDINARY, normalChar },
+ { 0x2228, 0xda, BINOP, normalChar },
+ { 0x2229, 0xc7, ORDINARY, normalChar },
+ { 0x0028, 0x28, ORDINARY, normalChar },
+ { 0x0029, 0x29, ORDINARY, normalChar },
+ { 0x222A, 0xc8, ORDINARY, normalChar },
+ { 0x222B, 0xf2, ORDINARY, normalChar },
+ { 0x00AE, 0xd2, ORDINARY, normalChar },
+ { 0x00D7, 0xb4, BINOP, normalChar },
+ { 0x2122, 0xd4, ORDINARY, normalChar },
+ { 0xF8F6, 0xf6, ORDINARY, normalChar },
+ { 0xF8F7, 0xf7, ORDINARY, normalChar },
+ { 0xF8F4, 0xef, ORDINARY, normalChar },
+ { 0xF8F2, 0xed, ORDINARY, normalChar },
+ { 0xF8F3, 0xee, ORDINARY, normalChar },
+ { 0xF8F0, 0xeb, ORDINARY, normalChar },
+ { 0xF8F1, 0xec, ORDINARY, normalChar },
+ { 0xF8F8, 0xf8, ORDINARY, normalChar },
+ { 0xF8F9, 0xf9, ORDINARY, normalChar },
+ { 0xF8FD, 0xfd, ORDINARY, normalChar },
+ { 0xF8FE, 0xfe, ORDINARY, normalChar },
+ { 0xF8FB, 0xfb, ORDINARY, normalChar },
+ { 0xF8FC, 0xfc, ORDINARY, normalChar },
+ { 0xF8FA, 0xfa, ORDINARY, normalChar },
+ { 0x03D1, 0x4a, ORDINARY, normalChar },
+ { 0x03D2, 0xa1, ORDINARY, normalChar },
+ { 0x03D5, 0x6a, ORDINARY, normalChar },
+ { 0x03D6, 0x76, ORDINARY, normalChar },
+ { 0x2666, 0xa8, ORDINARY, normalChar },
+ { 0x00AC, 0xd8, ORDINARY, normalChar },
+ { 0x211C, 0xc2, ORDINARY, normalChar },
+ { 0x2111, 0xc1, ORDINARY, normalChar },
+ { 0x2118, 0xc3, ORDINARY, normalChar },
+ { 0x00A9, 0xd3, ORDINARY, normalChar },
+ { 0x2665, 0xa9, ORDINARY, normalChar },
+ { 0x2660, 0xaa, ORDINARY, normalChar },
+ { 0x2663, 0xa7, ORDINARY, normalChar },
+ { 0x21D4, 0xdb, RELATION, normalChar },
+ { 0x2026, 0xbc, ORDINARY, normalChar },
+ { 0x21D2, 0xde, RELATION, normalChar },
+ { 0x2022, 0xb7, BINOP, normalChar },
+ { 0x223C, 0x7e, RELATION, normalChar },
+ { 0x22A5, 0x5e, ORDINARY, normalChar },
+ { 0x2234, 0x5c, BINOP, normalChar },
+ { 0x2244, 0xa4, ORDINARY, normalChar },
+ { 0x2245, 0x40, RELATION, normalChar },
+ { 0x2248, 0xbb, RELATION, normalChar },
+ { 0x03C0, 0x70, ORDINARY, normalChar },
+ { 0x03C1, 0x72, ORDINARY, normalChar },
+ { 0x03C2, 0x56, ORDINARY, normalChar },
+ { 0xF8F5, 0xf4, ORDINARY, normalChar },
+ { 0x03C4, 0x74, ORDINARY, normalChar },
+ { 0x03C5, 0x75, ORDINARY, normalChar },
+ { 0x03C6, 0x66, ORDINARY, normalChar },
+ { 0x03C7, 0x63, ORDINARY, normalChar },
+ { 0x03C8, 0x79, ORDINARY, normalChar },
+ { 0x03C9, 0x77, ORDINARY, normalChar },
+ { 0x21B5, 0xbf, ORDINARY, normalChar },
+ { 0, 0, ORDINARY, normalChar }
+};