Closed
Bug 118782
Opened 23 years ago
Closed 15 years ago
ṉ has odd spacing
Categories
(Core :: MathML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ian, Unassigned)
Details
Attachments
(2 files)
The ṉ character (lowercase latin n with underbar) seems to have an
intrinsic wider size.
STEPS TO REPRODUCE
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>c</mi>
<mi>ṉ</mi>
<mi>c</mi>
</mrow>
</math>
ACTUAL RESULTS
c n c
-
EXPECTED RESULTS
c n c
-
See attached testcase.
| Reporter | ||
Comment 1•23 years ago
|
||
Looks like a missing glyph problem (in conjuction with one of the typical issues
of weird fonts). Since there is no fonts with a glyph, it is transliterated from
transliterate.properties as:
# U+1E49 LATIN SMALL LETTER N WITH LINE BELOW
entity.7753=n_
On Windows, I am seeing "cn_c", so what you see on Linux seems due to the fact
that the glyph picked for underscore is different (but not specific to MathML).
| Reporter | ||
Comment 3•23 years ago
|
||
It works fine if I use HTML.
| Reporter | ||
Comment 4•23 years ago
|
||
Maybe the MathML glyph measuring code is measuring enough space for "n_" and
when the two get renderered on top of each other it doesn't take that into account?
That might be the case. Perhaps the code is taking the delta that you see as the
italic correction. There is a subtlety with respect to this, e.g., try:
<math xmlns="&mathml;">
<mrow>
<mi>f</mi> <mo>q</mo> <mi>f</mi> <mo>I</mo>
</mrow>
</math>
vs.
<html>
<span><i>f</i> q <i>f</i> I</span>
</html>
There is a difference (Err, a significant difference for picky math author).
But I am not sure if that's where the difference with "n_" arises. I haven't
investigated yet. I will first need to grab a font with that glyph.
| Reporter | ||
Comment 6•23 years ago
|
||
If you find one, please tell me about it... ;-)
Updated•16 years ago
|
QA Contact: ian → mathml
Comment 7•15 years ago
|
||
No bug for me, even when clearing font.mathfont-family in about:config. Tested on a linux trunk build.
Updated•15 years ago
|
Assignee: rbs → nobody
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•