Re: STIXfonts & Mozilla MathML?
Karl Tomlinson <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
Urs Holzer writes: > [email protected] wrote: > >> math { >> font-family: STIXGeneral, STIXVariants, STIXIntegralsSmall, >> STIXIntegralsDisplay, STIXIntegralsUp, STIXIntegralsUpSmall, >> STIXIntegralsUpDisplay, STIXSize1Symbols, STIXSize2Symbols, >> STIXSize3Symbols, STIXSize4Symbols, STIXSize5Symbols; >> } > > From where do you get these font names? My fontviewer (this useless KDE > font viewer) says that there are only the following font-families: > > STIXGeneral, STIXIntegrals, STIXSize1, STIXSize2, STIXSize3, STIXSize4, > STIXSize5, STIXVariants, STIXNonUnicode > > Many of the font files belong to the same family! I believe that the > font system handles this automatically. > So I think the correct list is: > > math { > font-family: STIXGeneral, STIXIntegrals, STIXSize1, STIXSize2, > STIXSize3, STIXSize4, STIXSize5, STIXVariants, STIXNonUnicode; > } > > Or am I missing something? Am I doing something wrong? You are not doing anything wrong. I believe this is a problem with the fonts, which I have reported, but I have not yet heard a reply. These are OpenType fonts and the names you (Urs) are seeing are those from the OpenType name tables. AIUI OpenType provides a wrapper around a CFF (postscript) font. This CFF font has different family names, which are the ones Justus has listed. Freetype (used on Linux) only looks at the OpenType name tables. I don't know what other systems do. (fontforge can show you both.)