« Return to Thread: mathvariant font families in Firefox for Linux

mathvariant font families in Firefox for Linux

by William F Hammond :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: mathvariant font families in Firefox for Linux