mathvariant font families in Firefox for Linux

View: New views
2 Messages — Rating Filter:   Alert me  

mathvariant font families in Firefox for Linux

by William F Hammond :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Using Firefox 1.5 for Linux
is it correct that one needs to use CSS, say in
$INSTALL_DIR/res/mathml.css   or in
"~/.mozilla/.../chrome/userContents.css,
to specify the *font-family* for, say, the selector
[mathvariant="fraktur"]  ?

If so, it would be good to say something about it in the Linux font
installation clues at http://www.mozilla.org/projects/mathml/fonts/ .

Of course, what makes sense depends on what one has and, moreover,
possibly on preference.

I'm using:

[mathvariant="script"] {font-family: Euclid Math One;}
[mathvariant="bold-script"] {font-family: Euclid Math One;
                             font-weight: bold;}
[mathvariant="fraktur"] {font-family: Euclid Fraktur;}
[mathvariant="bold-fraktur"] {font-family: Euclid Fraktur;
                              font-weight: bold;}
[mathvariant="double-struck"] {font-family: Euclid Math Two;
                               font-weight: bold;} /* or weight normal */
[mathvariant="monospace"]{font-family: monospace}

The truetype Euclid fonts are found in the MathType fonts from Design
Science, http://www.mathtype.com/en/dl/fonts/ , and there is a Linux
program called "cabextract" that may be used to unpack the archive.

                                    -- Bill

_______________________________________________
Mozilla-mathml mailing list
Mozilla-mathml@...
http://mail.mozilla.org/listinfo/mozilla-mathml

prime, Prime, tprime, & qprime as postfix operators

by William F Hammond :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Friends,

Browsing through the testsuite, I find Firefox 1.5 almost perfect!
In some cases it's showing up errors in the sample images, e.g.,
Presentation/TokenElements/mi/mimathvariant14.png (displayed in
mimathvariant.xml).

I'm finding inconsistency in the current rendering of the following
presentation language:

<math xmlns="&mathml;">
  <mi>x</mi><mo>′</mo>
  <mo>+</mo>
  <mi>x</mi><mo>″</mo>
  <mo>+</mo>
  <mi>x</mi><mo>‴</mo>
</math>

″ and ‴ as postfix operators are by default raised, while
′ is not.  My recollection is that ′ was also raised in
the early days of Mozilla MathML.  In fact, see the 6th term in
the testsuite image:
http://www.w3.org/Math/testsuite/testsuite/Topics/Primes/primes1.xml

Is the inconsistency intentional?

                                    -- Bill

P.S.  I wonder if it might not also be reasonable to provide raising
in the cases of <mi>x'</mi> or <mi>x′</mi>.

_______________________________________________
Mozilla-mathml mailing list
Mozilla-mathml@...
http://mail.mozilla.org/listinfo/mozilla-mathml