Closed Bug 206696 Opened 22 years ago Closed 22 years ago

Double-struck identifiers are inconsistently styled in MathML

Categories

(Core :: MathML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: steve.swanson, Assigned: rbs)

Details

(Keywords: fonts)

Attachments

(6 files)

When I put double-struck uppercase letters in <mi> tags, some are italic and some are not. In particular, CHNPQRZ are upright and the others are italic. This might be related to some other MathML font problem, but I didn't see anything obvious. Of course, most mathematicians prefer these characters to be upright. But that's not what the MathML spec wants to see.
Attached file testcase
Attached image screenshot
Yeah, there is an incomplete list in mathfont.properties. Those that are kept insentive are those in the BMP (they are listed in mathfont.properties). Those that are suffering from the style are the problematic chars of plane 1 which are internally re-mapped to the PUA. If you add their re-mapped PUA code points in the intended list in mathfont.properties, the inconsistency goes away.
Attached file more complete testcase
This one includes double-struck, fraktur and script faces, in upper- and lowercase.
This patch provides the intended style invariant chars for mathvariant.script, mathvariant.fraktur and mathvariant.double-struck. I just used mathml.dtd to build these lists. There may be other Unicode characters which deserve to be added as well (but since they're not referenced in mathml.dtd seem less important).
Comment on attachment 124255 [details] [diff] [review] filled in some lines in mathfont.properties r+sr=rbs OK to me. The other characters (if any) are equally important, but this is an improvement. It is better to have more characters in those lists than few anyway.
Attachment #124255 - Flags: superreview+
Attachment #124255 - Flags: review+
Checked in the trunk. Want this for the 1.4 branch? If so, feel free to nominate for a=.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
FWIW, the testcases look even worse using FizzillaMach/2003-05-25-03-trunk.
Care to attach a screenshot contrasting before-and-after the patch?
after patch?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: