[lasem] operators: does what the 3.0 specifications says.



commit f94a04d710959e7f3dfc9ccaaff5940b8f1a333b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu Apr 19 10:32:21 2012 +0200

    operators: does what the 3.0 specifications says.

 src/lsmmathmloperatordictionary.c |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmmathmloperatordictionary.c b/src/lsmmathmloperatordictionary.c
index 9490c2f..f053886 100644
--- a/src/lsmmathmloperatordictionary.c
+++ b/src/lsmmathmloperatordictionary.c
@@ -2813,6 +2813,25 @@ static const LsmMathmlOperatorDictionaryEntry lsm_mathml_operator_entries[] = {
 		TRUE
 	},
 	{
+		"â", LSM_MATHML_FORM_INFIX,		/* Tilde - 0x223C */
+		{ LSM_MATHML_SPACE_NAME_VERY_THIN, { 0.0, 0}},
+		{ LSM_MATHML_SPACE_NAME_VERY_THIN, { 0.0, 0}},
+		FALSE, FALSE, FALSE, FALSE, FALSE, FALSE,
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 1, LSM_MATHML_UNIT_PX}},
+		{ LSM_MATHML_SPACE_NAME_INFINITY, {0.0, 0}},
+		TRUE
+	},
+#if 0
+	{
+		"â", LSM_MATHML_FORM_POSTFIX,		/* Tilde - 0x223C */
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 0.0, LSM_MATHML_UNIT_EM}},
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 0.0, LSM_MATHML_UNIT_EM}},
+		TRUE, FALSE, TRUE, FALSE, FALSE, FALSE,
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 1, LSM_MATHML_UNIT_PX}},
+		{ LSM_MATHML_SPACE_NAME_INFINITY, {0.0, 0}},
+		TRUE
+	},
+	{
 		"~", LSM_MATHML_FORM_INFIX,
 		{ LSM_MATHML_SPACE_NAME_VERY_THIN, { 0.0, 0}},
 		{ LSM_MATHML_SPACE_NAME_VERY_THIN, { 0.0, 0}},
@@ -2821,6 +2840,16 @@ static const LsmMathmlOperatorDictionaryEntry lsm_mathml_operator_entries[] = {
 		{ LSM_MATHML_SPACE_NAME_INFINITY, {0.0, 0}},
 		TRUE
 	},
+#endif
+	{
+		"~", LSM_MATHML_FORM_POSTFIX,
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 0.0, LSM_MATHML_UNIT_EM}},
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 0.0, LSM_MATHML_UNIT_EM}},
+		TRUE, FALSE, TRUE, FALSE, FALSE, FALSE,
+		{ LSM_MATHML_SPACE_NAME_ERROR, { 1, LSM_MATHML_UNIT_PX}},
+		{ LSM_MATHML_SPACE_NAME_INFINITY, {0.0, 0}},
+		TRUE
+	},
 	{
 		"@", LSM_MATHML_FORM_INFIX,
 		{ LSM_MATHML_SPACE_NAME_VERY_THIN, { 0.0, 0}},



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]