Preliminary update of the MathML Operator Dictionary
Categories
(Core :: MathML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: fredw, Assigned: fredw)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•3 years ago
|
||
This is a first step towards aligning our dictionary with MathML Core.
non-BMP Arabic characters are not integrated yet and obsolete entries
are preserved. Here is the details of how the update was
semi-automatically performed:
-
Changed the URL of
unicode.xml
that is used by WPT and MathML Core. -
Called
./updateOperatorDictionary.pl download
to fetchunicode.xml
and generatedictionary.xml
. -
Called
./updateOperatorDictionary.pl compare
to generate
differences.txt
andnew_dictionary.txt
. The following summary is
provided by the script:
- 197 obsolete entries (22 of them are related to stretching)
- 565 unchanged entries
- 364 conflicting entries (90 of them are related to stretching)
- 248 new entries (120 of them are related to stretching)
-
Copied
new_dictionary.txt
intomathfonts.properties
, keeping
the obsolete entries at the end and removing the
U+1EEF0 ARABIC MATHEMATICAL OPERATOR MEEM WITH HAH WITH TATWEEL
and U+1EEF1 ARABIC MATHEMATICAL OPERATOR HAH WITH DAL
(non-BMP entries don't seem to be handled well by the Perl script). -
Ran
./updateOperatorDictionary.pl compare
again:
- 197 obsolete entries (22 of them are related to stretching)
- 1173 unchanged entries
- 2 conflicting entries (0 of them are related to stretching)
- 2 new entries (1 of them are related to stretching)
The 2 new entries are the non-BMP Arabic characters mentioned
above. The 2 remaining conflicting entries are U+2215 DIVISION
SLASH and U+221A SQUARE ROOT which lose their "mirrorable" property
during conversion via the stylesheet operatorDictionary.xsl
because
they don't have any other operator properties. Let's keep them as
"mirrorable", this notion is not part of the current version of MathML
Core anyway.
-
Ran
./updateOperatorDictionary.pl check
and got errors
"operator has a stretchy form, but all forms have not the same
direction" for operators U+2295, U+2296, U+2297, U+2299. Add
missingdirection:vertical
to them. After running again, no
errors are found. -
Ran
./updateOperatorDictionary.pl clean
to remove temporay files.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Backed out changeset 6353ed04e5a6 (Bug 1789583) for causing failures in mirror-op-3.html CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=390083260&repo=autoland&lineNumber=7527
Backout: https://hg.mozilla.org/integration/autoland/rev/3646b9905341398623ab73876dcc96a14b8ebf3e
Assignee | ||
Comment 4•3 years ago
|
||
oops, I forgot to take care of U+2215 DIVISION SLASH and U+221A SQUARE ROOT again after my last change... will take do it now.
Comment 6•3 years ago
|
||
bugherder |
Description
•